Github user srdo commented on a diff in the pull request:
https://github.com/apache/storm/pull/1702#discussion_r81609543
--- Diff:
external/storm-eventhubs/src/main/java/org/apache/storm/eventhubs/spout/EventHubSpout.java
---
@@ -121,8 +121,8 @@ public void preparePartitions(Map config, int
totalTasks, int taskIndex, SpoutOu
zkEndpointAddress = sb.toString();
}
stateStore = new ZookeeperStateStore(zkEndpointAddress,
- (Integer)config.get(Config.STORM_ZOOKEEPER_RETRY_TIMES),
- (Integer)config.get(Config.STORM_ZOOKEEPER_RETRY_INTERVAL));
+
Integer.parseInt(config.get(Config.STORM_ZOOKEEPER_RETRY_TIMES).toString()),
--- End diff --
Sorry, misread this bit. Read it as parseInt(conf).toString instead of
parseInt(conf.toString) :)
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---