Open thynson opened 6 years ago
whoa, @thomaslee and @aikar are both trying to solve a similar problem.
Thank you for sharing this @thynson. I hope to take a look at it in detail later.
Nice! I'll check this out sometime this week.
In the meantime, #1071 has my own proof of concept and @aikar raised an issue over in #975 with some of his own ideas.
ConsumerGroupStream is hard to (and I believe it's impossible to correctly) use with commit being manually managed. After working with it for several weeks I decided to to made a better design, namely ConsumerGroupPipeline, now available at https://github.com/thynson/kafka-pipeline. Which supports:
Reliable offsets commit, only commit mssages that have actually been consumed.
Concurrently consume. Yes, messages can be concurrently consumed while offset is still correct!
While I maintained it as a separated package now, I'm appreciated that if it could be adopt into the kafka-node.