Jason Rosenberg created KAFKA-601:
-------------------------------------
Summary: ConsumerConnector.shutdown() hangs if autocommit is
enabled, and no zk available
Key: KAFKA-601
URL: https://issues.apache.org/jira/browse/KAFKA-601
Project: Kafka
Issue Type: Bug
Components: clients
Affects Versions: 0.7.2
Reporter: Jason Rosenberg
Hi,
I have a situation where I want to reliably shut-down a consumer, but it seems
to hang in certain conditions, namely:
- If autocommit.enabled = true
- If the current zk instance is not available
It seems that it will indefinitely try to re-create the zk connection, in order
to auto-commit, before exiting, even after I've called
ConsumerConnector.shutdown().
I would think that there should be a way to force it to shutdown, even under
error conditions.
Jason
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira