Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
0.9.3
-
None
Description
Currently the Kafka spout uses a hardcoded ZK connection timeout of 15 seconds in external/storm-kafka/src/jvm/storm/kafka/DynamicBrokersReader.java:
_curator = CuratorFrameworkFactory.newClient(
zkStr,
Utils.getInt(conf.get(Config.STORM_ZOOKEEPER_SESSION_TIMEOUT)),
15000,
new RetryNTimes(Utils.getInt(conf.get(Config.STORM_ZOOKEEPER_RETRY_TIMES)),
Utils.getInt(conf.get(Config.STORM_ZOOKEEPER_RETRY_INTERVAL))));
We should make this setting configurable, similar to the ZK session timeout setting.