Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

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

avatar
Explorer

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.