Open petergdoyle opened 9 years ago
... And should it not be possible to use the same kaka.Client for both producer and consumer? the second approach still uses multiple connects rather than one. It is a better than a connection per send and might be good for high-volume traffic (what i need this to scale to). ... Also still not clear to me whether to use the regular Consumer and Producer or the HighLevel versions of those? Thanks !
this code works (reads from the consumer and sends to the new topic using producer)
This code doesn't. it reads from the consumer and never sends with the producer.
I should not have to create a new connection every time I need to send a message every consumer.on('message')!!!