Github user srdo commented on the issue:
https://github.com/apache/storm/pull/1821
@hmcl I'd be happy to add comments explaining the propagation. Calling
`close()` isn't enough. When the Kafka exception is thrown, the thread
interrupt state is cleared (same behavior as the Java exception). If we just
call `close()`, the executor thread keeps running because it's no longer
interrupted (though it would probably crash on the next call to nextTuple since
the consumer was closed). We have to either throw a wrapped
InterruptedException, or reinterrupt the thread.
---
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.
---