Github user liu-zhaokun commented on a diff in the pull request:

    https://github.com/apache/storm/pull/2297#discussion_r136286746
  
    --- Diff: 
external/storm-kafka/src/jvm/org/apache/storm/kafka/DynamicBrokersReader.java 
---
    @@ -110,7 +110,7 @@ private int getNumPartitions(String topic) {
                 List<String> children = 
_curator.getChildren().forPath(topicBrokersPath);
                 return children.size();
             } catch (Exception e) {
    -            throw new RuntimeException(e);
    +            LOG.error(e.getMessage(), e);
    --- End diff --
    
    @HeartSaVioR 
    I mean topology should  work even we  can't connect one of the 
zkservers,because the data is shared  among zkservers. But if we throw a 
exception,storm will not attempt to connect other zkserver,and exit.


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to