GitHub user BewareMyPower added a comment to the discussion: Messages lost with 
new topic and regex subscription

The same applies to a partitioned consumer. IMO, when a consumer found new 
topics/partitions, the subscription initial position **should be changed to 
earliest** no matter what the original initial position is.

Usually consumers use latest initial position to discard outdated messages. 
However, assuming that partitions were dynamic increased, i.e. there're some 
producers and consumers serving this partitioned topic currently. If producers 
found the increased partitions before consumers, in consumer's view, those 
messages before it consumes **shouldn't be considered outdated**.

What do you think of this change? @sijie 

GitHub link: 
https://github.com/apache/pulsar/discussions/18458#discussioncomment-4133562

----
This is an automatically sent email for dev@pulsar.apache.org.
To unsubscribe, please send an email to: dev-unsubscr...@pulsar.apache.org

Reply via email to