Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]

Support Questions

Find answers, ask questions, and share your expertise
Announcements
Share your experience with Cloudera on G2 and get a $25 Amazon Gift card.
Hi, I'm CLEO! Something exciting is coming to the Community. Stay Tuned!

how to run Kafka console producer in a remote server and feed the data to a topic in a differnent VM

avatar
Frequent Visitor

Hello All,

 

I am novice to Kafka. I am receiving SNMP traps in a particular server 'X', but my Kafka is installed in a different server 'Y'. How can I publish the traps using the kafka-console-producer.sh script to load to topic ?. Any help is appreciated

1 REPLY 1

avatar
Super Collaborator

@CDPTester 

 

You can use camel-snmp-kafka-connector to receive traps and poll SNMP (Simple Network Management Protocol) and configure it to send to Kafka topic [1].  

 

[1] https://camel.apache.org/camel-kafka-connector/0.11.x/reference/connectors/camel-snmp-kafka-source-c...

 

This connector will be not bundled with the CDP but you can integrate this Apache open source connector as per your requirement. Refer the following stackoverflow article for more details/example [2]

 

[2] https://stackoverflow.com/questions/54305856/snmp-camel-kafka

 

If you found this response assisted with your query, please take a moment to log in and click on  KUDOS 🙂 & ”Accept as Solution" below this post.

 

Thank you.