Fixes minor typo in kafka emitter (#15416)

This commit is contained in:
Tom 2023-11-23 00:49:39 -08:00 committed by GitHub
parent c14cfc2a86
commit 386cdb95e7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -92,12 +92,12 @@ public class KafkaEmitter implements Emitter
this.invalidLost = new AtomicLong(0L);
}
private Callback setProducerCallback(AtomicLong lostCouter)
private Callback setProducerCallback(AtomicLong lostCounter)
{
return (recordMetadata, e) -> {
if (e != null) {
log.debug("Event send failed [%s]", e.getMessage());
lostCouter.incrementAndGet();
lostCounter.incrementAndGet();
}
};
}