Skip to content

Commit

Permalink
[improvement][broker]: remove spammy log 'The count of topics on the …
Browse files Browse the repository at this point in the history
…bundle {} is less than 2, skip split!' (apache#16212)
  • Loading branch information
eolivelli authored Jun 24, 2022
1 parent 5caf6e6 commit 35917e6
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,9 @@ public Set<String> findBundlesToSplit(final LoadData loadData, final PulsarServi
final String bundle = entry.getKey();
final NamespaceBundleStats stats = entry.getValue();
if (stats.topics < 2) {
log.info("The count of topics on the bundle {} is less than 2, skip split!", bundle);
if (log.isDebugEnabled()) {
log.debug("The count of topics on the bundle {} is less than 2, skip split!", bundle);
}
continue;
}
double totalMessageRate = 0;
Expand Down

0 comments on commit 35917e6

Please sign in to comment.