javascript - kafka node js client compression issue with snappy -
i using kafka-node (https://github.com/sohu-co/kafka-node) consumer retrieve data. think data compressed snappy. how decompress data after it. tried using node-snappy (https://github.com/kesla/node-snappy) decompress data, didn't work.
is there option in library set compression none?
anyone used kafka-node library data kafka..??
thanks, chandu
i encountered these exact problems. found solution, @ last! can use kafkacat ('like netcat kafka') download here, requires librdkafka. enables interact kafka command line using librdkafka c/c++ library. (no jvm required =d )
now have dependencies taken care of can use fun node.js repo: node-kafkacat
you'll find there's enough documentation between 3 libraries started , unlike of other kafka-node modules on github, seem have been updated recently.
i have installed on linux , mac far things working great our apache/java environment. i'm not author of of these packages, btw - guy kept hoping question answered on last couple weeks.
Comments
Post a Comment