Skip to content

Commit df436cc

Browse files
authored
MINOR: improve logging for Kafka Streams stateful task management (#20942)
Changing log level from ERROR to WARN, as it's expected that this can happen, and we should not incorrectly make users worry about it. Reviewers: PoAn Yang <[email protected]>, Colt McNealy <[email protected]>, Lucas Brutschy <[email protected]>, Chia-Ping Tsai <[email protected]>
1 parent bcd3191 commit df436cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

streams/src/main/java/org/apache/kafka/streams/processor/internals/StateManagerUtil.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ static void closeStateManager(final Logger log,
147147
}
148148
}
149149
} else {
150-
log.error("Failed to acquire lock while closing the state store for {} task {}", taskType, id);
150+
log.warn("Unable to acquire lock while closing the state store for {} task {}", taskType, id);
151151
}
152152
} catch (final IOException e) {
153153
final ProcessorStateException exception = new ProcessorStateException(

0 commit comments

Comments
 (0)