Skip to main content
1-Visitor
Oct 24, 2017 8:56 AM UTC
Question

kafka connector to thingworx

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

3 replies

5-Regular Member
Oct 25, 2017 6:56 AM UTC

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

Translate
5-Regular Member
Oct 25, 2017 7:00 AM UTC

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.

Translate
12-Amethyst
Oct 25, 2017 12:19 PM UTC

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

Translate