Uploaded image for project: 'Apache Storm'
  1. Apache Storm
  2. STORM-498

storm-kafka: make ZK connection timeout configurable in Kafka spout

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.9.3
    • 0.9.3
    • storm-kafka
    • 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.

      Attachments

        Activity

          People

            miguno Michael G. Noll
            miguno Michael G. Noll
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: