mirror of https://github.com/apache/druid.git
Fixes minor typo in kafka emitter (#15416)
This commit is contained in:
parent
c14cfc2a86
commit
386cdb95e7
|
@ -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();
|
||||
}
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue