[GitHub] merlimat commented on issue #1156: Introduce ActiveConsumerListener for realizing if a consumer is active in a failover subscription group

2018-02-14 Thread GitBox
merlimat commented on issue #1156: Introduce ActiveConsumerListener for 
realizing if a consumer is active in a failover subscription group
URL: https://github.com/apache/incubator-pulsar/pull/1156#issuecomment-365801659
 
 
   retest this please


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


With regards,
Apache Git Services


[GitHub] merlimat commented on issue #1156: Introduce ActiveConsumerListener for realizing if a consumer is active in a failover subscription group

2018-02-14 Thread GitBox
merlimat commented on issue #1156: Introduce ActiveConsumerListener for 
realizing if a consumer is active in a failover subscription group
URL: https://github.com/apache/incubator-pulsar/pull/1156#issuecomment-365801659
 
 
   retest this please


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


With regards,
Apache Git Services


[GitHub] merlimat commented on issue #1156: Introduce ActiveConsumerListener for realizing if a consumer is active in a failover subscription group

2018-02-14 Thread GitBox
merlimat commented on issue #1156: Introduce ActiveConsumerListener for 
realizing if a consumer is active in a failover subscription group
URL: https://github.com/apache/incubator-pulsar/pull/1156#issuecomment-365660980
 
 
   > Does this provide a way to figure out the current active consumer? 
   
   Not right now, I think it would be interesting to mention who's the active 
consumer in the topic in the topics stats. We could have a `Boolean` field in 
the `ConsumerStats` that is set to `null` in non-failover subscriptions.


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


With regards,
Apache Git Services


[GitHub] merlimat commented on issue #1156: Introduce ActiveConsumerListener for realizing if a consumer is active in a failover subscription group

2018-02-13 Thread GitBox
merlimat commented on issue #1156: Introduce ActiveConsumerListener for 
realizing if a consumer is active in a failover subscription group
URL: https://github.com/apache/incubator-pulsar/pull/1156#issuecomment-365509341
 
 
   @sijie Change looks good, though there's still the issue at 
https://github.com/apache/incubator-pulsar/pull/1156/files#r167413443 . I think 
is using the `consumerId` of the active consumer to decide if other consumers 
are active/inactive, but we cannot compare `consumerId` across consumers.
   
   The other comment was around making the Listener interface name more neutral 
so that we can add more event handlers, if (and when) the need arises, without 
having to add an additional listener.


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


With regards,
Apache Git Services