Skip to content

Commit

Permalink
[improve][broker] Do not print error logs for ProducerBusyException
Browse files Browse the repository at this point in the history
  • Loading branch information
RobertIndie committed Feb 5, 2025
1 parent cdab2d6 commit 2a8c1e0
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1729,7 +1729,8 @@ protected void handleProducer(final CommandProducer cmdProducer) {
log.warn("[{}] Failed to load topic {}, producerId={}: Topic not found", remoteAddress, topicName,
producerId);
} else if (!Exceptions.areExceptionsPresentInChain(cause,
ServiceUnitNotReadyException.class, ManagedLedgerException.class)) {
ServiceUnitNotReadyException.class, ManagedLedgerException.class,
BrokerServiceException.ProducerBusyException.class)) {
log.error("[{}] Failed to create topic {}, producerId={}",
remoteAddress, topicName, producerId, exception);
}
Expand Down

0 comments on commit 2a8c1e0

Please sign in to comment.