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 2018/02/21 20:01:54 UTC

[GitHub] sijie opened a new issue #1267: Improve failover subscription for non-partitioned topic

sijie opened a new issue #1267: Improve failover subscription for non-partitioned topic
URL: https://github.com/apache/incubator-pulsar/issues/1267
 
 
   *Problem*
   
   Currently failover subscription is sorting the consumers. so if a consumer who consumer name is always the first consumer after sorting and the consumer has flaky network where it joins and leaves, this would cause the whole subscription getting into a *flaky* state, where the "active" consumer joins and leaves, no consumer is actually elected as "active" and consuming the messages.
   
   The sorting logic is useful for partitioned topics. However it is not necessarily required by non-partitioned topic. So we should change the logic to not sort the consumers and make the "active" consumer stabilize no matter how other consumers joining the subscription.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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


With regards,
Apache Git Services