Apache flumeを使用したいと思います。 このネイティブシンクを使用するようにcygnusを設定するにはどうすればよいですか?Apache flume elastic search sinkを追加しました。
私はApacheの水路のlibにネイティブjar fileを入れて、folowingとしてエージェントを設定ください:
# 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剤、その他のための2つのシグナスインスタンス1を起動しますシンク? cygnusインスタンスの実行方法が見つかりません(ソースからcygnusをインストールして、Linuxサービスを起動できないようにしました)
cygnus-ngsiとこの新しいシンクで同じソースを使用することは可能ですか?私は両方のために同じソースが必要になるためです。
ありがとうございます。