When restarting is complete, I can see that a JMX MBean (we use Metrics JMXReporter) like "ZookeeperConsumerConnector" is registered twice. This bean is not registered when the previous connector instance is shut down.
What is the best way to stop/halt and restart a Consumer using the Java API?
Is it normal that the MBean is not unregistered at shutdown time?
Each time we create a new consumer connector, we assign a random consumer id by default. You can try setting "consumer.id" to use a fixed consumer id. In any case, we probably should deregister those beans when shutting down the connector. Could you file a jira?
Jun On Thu, Oct 10, 2013 at 7:55 AM, Tanguy tlrx <[EMAIL PROTECTED]> wrote:
Re: starting/stopping - right now you would have to call shutdown and create a new consumer connector since you can call createMessageStreams only once per connector.
On Friday, October 11, 2013, Tanguy tlrx wrote:
Sent from Gmail Mobile
NEW: Monitor These Apps!
Apache Lucene, Apache Solr and all other Apache Software Foundation project and their respective logos are trademarks of the Apache Software Foundation.
Elasticsearch, Kibana, Logstash, and Beats are trademarks of Elasticsearch BV, registered in the U.S. and in other countries. This site and Sematext Group is in no way affiliated with Elasticsearch BV.
Service operated by Sematext