UladzislauBlok commented on code in PR #22417:
URL: https://github.com/apache/kafka/pull/22417#discussion_r3330161778
##########
streams/src/main/java/org/apache/kafka/streams/processor/internals/GlobalStreamThread.java:
##########
@@ -299,7 +300,13 @@ public void run() {
if (size != -1L) {
cache.resize(size);
}
- stateConsumer.pollAndUpdate();
+ try {
+ stateConsumer.pollAndUpdate();
+ } catch (final WakeupException e) {
+ if (!inErrorState()) {
+ throw e;
+ }
+ }
Review Comment:
I think this is not part of bootstrapping, is it?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]