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

    https://github.com/apache/storm/pull/1821#discussion_r92691637
  
    --- Diff: 
external/storm-kafka-client/src/main/java/org/apache/storm/kafka/spout/KafkaSpout.java
 ---
    @@ -435,7 +435,7 @@ public void close() {
             } catch (InterruptException e) {
                 //Kafka throws their own type of exception when interrupted.
                 //Throw a new Java InterruptedException to ensure Storm can 
recognize the exception as a reaction to an interrupt.
    -            throw new RuntimeException(new InterruptedException());
    +            throw new RuntimeException(new InterruptedException("Kafka 
consumer was interrupted"));
             }
    --- End diff --
    
    @hmcl Better?


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