hi, Why dont you provide new name to consumer group each time you restart your consumer? This new consumer group will not conflict with the earlier one and it will be treated as new consumer thread next time to get all messages again.
Regards, Sunil. On Wed, 5 Jan 2022 at 10:45 PM, Roger Kasinsky <roger.kasin...@gmail.com> wrote: > Hi, > > I have a topic divided into 4 partitions. I have a consumer that needs to > consume all messages from the topic (all messages from all 4 partitions). > So to do that I have this consumer sitting by itself in its own consumer > group. I'm not committing any offsets, because I want to read all messages > again on every restart of the consumer. > > *Question:* *Can anything be said about the order of the messages consumed > by my consumer? Is there a way to enforce the same order of messages for > every restart of my consumer?* > > Thanks! > > -R >