Skip to content

Commit

Permalink
remove redundant placeholders (apache#12717)
Browse files Browse the repository at this point in the history
  • Loading branch information
gaozhangmin authored and eolivelli committed Nov 29, 2021
1 parent 77ca28c commit ce902d0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Expand Up @@ -300,7 +300,7 @@ private void processPublishMessageResults(List<ProducerAck> produceMessageResult
produceMessageResults.get(index).setMessageId(messageId.toString());
} catch (Exception e) {
if (log.isDebugEnabled()) {
log.debug("Fail publish [{}] message with rest produce message request for topic {}: {} ",
log.debug("Fail publish [{}] message with rest produce message request for topic {}",
index, topicName);
}
if (e instanceof BrokerServiceException.TopicNotFoundException) {
Expand Down
Expand Up @@ -1338,7 +1338,7 @@ private CompletableFuture<Void> subscribeIncreasedTopicPartitions(String topicNa
return FutureUtil.failedFuture(new NotSupportedException("not support shrink topic partitions"));
}
}).exceptionally(throwable -> {
log.warn("[{}] Failed to get partitions for topic to determine if new partitions are added", throwable);
log.warn("Failed to get partitions for topic to determine if new partitions are added", throwable);
return null;
});
}
Expand Down

0 comments on commit ce902d0

Please sign in to comment.