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/08/31 19:01:41 UTC

[GitHub] [pulsar] alexku7 commented on issue #7941: Consumer can't get messages with earliest position subscription type under some circumstances

alexku7 commented on issue #7941:
URL: https://github.com/apache/pulsar/issues/7941#issuecomment-683969477


   Hello
   I am pretty sure that i succeeded to reproduce the conditions for this issue.
   
   
   1. create a topic with three partitions. my-tenant/my-namespace/my/topic
   2. The topic should have producers for producing relatively many messages ( let's say 3000 per second) with different keys
   2. create simultaneously **2**  consumers with key_shared subscription and earliest position:
   
   bin/pulsar-client consume -p Earliest -n 0 -s alex_test -t Key_Shared persistent://my-tenant/my-namespace/my/topic
   
   3, after 1-2 minutes , create third consumer with the same settings.
   
   You should see after 10-40 seconds that the all partitions are stuck with zero rate out and the backlog continues to grow .
   
   Interesting, that if i remove the third consumer, all are starting working again but if i remove the first or second consumer it's  still stuck.
   
   The issue doesn't occur with Latest position.
   
   


----------------------------------------------------------------
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