Github user srdo commented on a diff in the pull request:

    https://github.com/apache/storm/pull/1835#discussion_r93105952
  
    --- Diff: 
external/storm-kafka-client/src/main/java/org/apache/storm/kafka/spout/KafkaSpout.java
 ---
    @@ -218,7 +224,11 @@ public void nextTuple() {
                 }
     
                 if (poll()) {
    -                setWaitingToEmit(pollKafkaBroker());
    +                try {
    +                    setWaitingToEmit(pollKafkaBroker());
    +                } catch (Exception e) {
    +                    LOG.error("Failed to poll from kafka.", e);
    --- End diff --
    
    Could you share what exception you're seeing here? We haven't seen the 
spout be unstable due to exceptions from here.


---
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