SOHU-Co / kafka-node

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

Allow reuse of kafkaClient fo consumerGroup and producerStream #1476

Open hosh opened 1 year ago

hosh commented 1 year ago

pass existing kafkaClient through consumerGroup, consumerGroupStream, producerStream

Add the capability to reuse a kafkaClient() and avoid excessive metadata refreshes