我想使用Apache水槽弹性搜索本机接收器在天鹅座。 我怎样才能配置cygnus使用这个本机接收器?添加Apache水槽弹性搜索水槽
难道我把本地jar file在Apache的水槽lib和将代理配置为如下因素:
# Name the components on this agent
a1.sources = r1
a1.sinks = k1
a1.channels = c1
# Describe/configure the source
a1.sources.r1.type = netcat
a1.sources.r1.bind = localhost
a1.sources.r1.port = 44444
# Describe the sink
a1.sinks.k1.type = logger
# Use a channel which buffers events in memory
a1.channels.c1.type = memory
a1.channels.c1.capacity = 1000
a1.channels.c1.transactionCapacity = 100
# Bind the source and sink to the channel
a1.sources.r1.channels = c1
a1.sinks.k1.channel = c1
,然后我启动两个天鹅例如一个与天鹅-ngsi剂和其他弹性搜索本地水槽? 找不到如何运行天鹅座实例(我从源安装天鹅座,所以我不能使用Linux服务启动它)
是否有可能使用相同的源cygnus-ngsi和这个新的汇?因为我需要两个相同的来源。
感谢和问候。