Merge pull request #483 from PascalSchumacher/add_mising_argument_to_log_message

Add missing format argument for log message in AbortSlowAckConsumerSt…
This commit is contained in:
Jean-Baptiste Onofré 2020-02-28 07:29:41 +01:00 committed by GitHub
commit ef763375b2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions

View File

@ -164,9 +164,10 @@ public class AbortSlowAckConsumerStrategy extends AbortSlowConsumerStrategy {
getMaxSlowCount() > 0 && entry.getValue().slowCount >= getMaxSlowCount()) {
LOG.trace("Transferring consumer {} to the abort list: {} slow duration = {}, slow count = {}",
new Object[]{ entry.getKey().getConsumerInfo().getConsumerId(),
entry.getKey().getConsumerInfo().getConsumerId(),
toAbort,
entry.getValue().markCount * getCheckPeriod(),
entry.getValue().getSlowCount() });
entry.getValue().getSlowCount());
toAbort.put(entry.getKey(), entry.getValue());
slowConsumers.remove(entry.getKey());