BewareMyPower commented on issue #7157:
URL: https://github.com/apache/pulsar/issues/7157#issuecomment-642393034


   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 


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to