You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2020/06/11 04:05:48 UTC

[GitHub] [pulsar] BewareMyPower commented on issue #7157: Messages lost with new topic and regex subscription

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:
users@infra.apache.org