BewareMyPower commented on code in PR #23349:
URL: https://github.com/apache/pulsar/pull/23349#discussion_r1777955813
##########
pulsar-client/src/main/java/org/apache/pulsar/client/impl/TableViewImpl.java:
##########
@@ -364,8 +364,8 @@ private void readAllExistingMessages(Reader<T> reader,
CompletableFuture<Void> f
}
}).exceptionally(ex -> {
if (ex.getCause() instanceof
PulsarClientException.AlreadyClosedException) {
- log.error("Reader {} was closed while
reading existing messages.",
- reader.getTopic(), ex);
+ log.info("Reader {} was closed while
reading existing messages.",
Review Comment:
To optimize the error logs because the `AlreadyClosedException` is an
expected exception but the full stack will be printed each time
--
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]