Sunday, 16 April 2017

Comparing kafka-node and node-rdkafka

I would like to use Kafka with my Node.JS services as a message broker and am debating between the kafka-node and node-rdkafka libraries.

I started testing kafka-node's capabilities (the library seems to be much more popular) and was able to create a producer, write to Kafka with it, create a consumer, and read from Kafka with it. However, I noticed that the library does not currently support some Kafka features such as writing timestamps and lz4 compression (features that the Scala driver that I am using supports).

Has anyone run into these or other setbacks in kafka-node (or node-rdkafka) and decided to use another library due to them?



via Michal

No comments:

Post a Comment