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

2018-02-14 Thread GitBox
sijie 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-365780104
 
 
   the CI failed with license header. fixed license header.
   
   I forgot another item to make CPP client ignore this notification.


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] sijie commented on issue #1156: Introduce ActiveConsumerListener for realizing if a consumer is active in a failover subscription group

2018-02-14 Thread GitBox
sijie 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-365688094
 
 
   rebased to the latest master


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] sijie commented on issue #1156: Introduce ActiveConsumerListener for realizing if a consumer is active in a failover subscription group

2018-02-14 Thread GitBox
sijie 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-365666967
 
 
   > This could also have been done by each consumer periodically adding a 
message to the topic. if you start getting the messages, you are the active 
consumer.
   
   @ivankelly : yes that's the trick we are using now for the other project. 


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] sijie commented on issue #1156: Introduce ActiveConsumerListener for realizing if a consumer is active in a failover subscription group

2018-02-14 Thread GitBox
sijie 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-365652446
 
 
   @merlimat as you suggested, I did two changes here:
   
   - rename `ActiveConsumerListener` to `ConsumerEventListener`. currently 
since we only use it for failover subscription, so I am still disallowing 
shared/exclusive subscription to use the listener. we can enable if we support 
more events in future.
   
   - I changed the dispatcher to use `consumer` object as the comparison 
identifier.


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] sijie commented on issue #1156: Introduce ActiveConsumerListener for realizing if a consumer is active in a failover subscription group

2018-02-13 Thread GitBox
sijie 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-365325159
 
 
   @merlimat I have addressed your comments, please take another round of 
review. If this looks good for you, I will rebase it to latest master.


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