Skip to main content
1-Visitor
October 24, 2017
Question

kafka connector to thingworx

  • October 24, 2017
  • 3 replies
  • 3470 views

Hi , anybody knows how to connect kafka to thingworx ? any ideas ?

3 replies

5-Regular Member
October 25, 2017

OSCAR GRANGEL​: As per my knowledge we do not have any direct connector available for Kafka however let me check internally with Product team if there are some plans to provide connector.

-Durgesh

5-Regular Member
October 25, 2017

I think this has been sort of discussed previously, adding that thread here Is there a case and connection method for ThingWorx-kafka connection?  for additional information, which i'm afraid is not much. Looking forward to what Durgesh Patel​ finds with PM.

12-Amethyst
October 25, 2017

You need an agent/connector (can be stand alone Java application) which reads from the Kafka Queue and writes it to your Thing property. Alternatively agent code can be built as extension and that can be invoked using scheduler job. Java could be slower considering velocity of data Kafka can handle.

You can alternatively think of Python code, you have agent code available here GitHub - dpkp/kafka-python: Python client for Apache Kafka

Then you need to use Python extension (not sure whether it is available in Market Place) to invoke your Python code from scheduler.

I hope this helps.

Thanks