Skip to content

Commit

Permalink
Fixes minor typo in kafka emitter (#15416)
Browse files Browse the repository at this point in the history
  • Loading branch information
TSFenwick authored Nov 23, 2023
1 parent c14cfc2 commit 386cdb9
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -92,12 +92,12 @@ public KafkaEmitter(KafkaEmitterConfig config, ObjectMapper jsonMapper)
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();
}
};
}
Expand Down

0 comments on commit 386cdb9

Please sign in to comment.