DEV Community

Saurabh Bhoomkar
Saurabh Bhoomkar

Posted on

Answer:Kafka

Consumers are required to stop in order to avoid running into race conditions between consumers committing offsets and AdminClient altering offsets.

If you wish to keep the consumer group id, you can use Kafka Consumer seek APIs to look for the earliest offsets. Then AdminClient can be used to alter

Top comments (0)