Check out example codes for "How does a consumer commit offsets in Kafka? it directly commit the offset in Zookeeper it directly send a message to the __consumer_offset it interact with the Group coordinator None". It will help you in understanding the concepts better.

Code Example 1

not B

Learn ReactJs, React Native from akashmittal.com