SOHU-Co / kafka-node

Node.js client for Apache Kafka 0.8 and later.
MIT License
2.66k stars 628 forks source link

Does Kafka-node supports ECMA script or not #1479

Open jyoti-ranjan-4 opened 12 months ago

jyoti-ranjan-4 commented 12 months ago

Questions?

Can we use this consumer active untill the application is running, so that it will consume all the messages through out the lifetime of the application?

Bug Report

Does this version supports ECMA script? Because when I'm using kafka-node, it's giving errors and suggesting to use import statement instead of require statement.

Environment

Your valuable answers will be appreciated.