Apache flume을 사용하고 싶습니다. 고니에 탄성 검색 원시 싱크를 사용하고 싶습니다. 이 원시 싱크를 사용하려면 어떻게 cygnus를 구성 할 수 있습니까?Apache flume elastic 검색 싱크를 추가하십시오.
# 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 에이전트에 대한 두 개의 니 예를 하나를 시작하고 탄성 검색 기본에 대한 다른 :
내가 아파치 수로의 lib에 기본 jar file을 넣고 folowing로 에이전트를 구성 수행 싱크대? cygnus 인스턴스를 실행하는 방법을 찾을 수 없습니다. (리눅스 서비스를 시작할 수 없도록 소스에서 cygnus를 설치했습니다)그리고 cygnus-ngsi와이 새로운 싱크에 같은 소스를 사용할 수 있습니까? ? 두 가지 모두에 대해 동일한 출처가 필요하기 때문입니다.
감사합니다.