The GitHub Actions job "Flink Connector Kafka CI" on 
flink-connector-kafka.git/FLINK-39892 has succeeded.
Run started by GitHub user Efrat19 (triggered by pnowojski).

Head commit for run:
c7ffafc1ea7926dcbdbd46d233512c931df43f48 / Efrat Levitan <[email protected]>
[FLINK-39892][metrics] Fix incorrect numBytesOut reported delta after producer 
reset

The following counters

taskmanager.job.task.numBytesOutPerSecond
taskmanager.job.task.numBytesOut
taskmanager.job.task.operator.numBytesOutPerSecond
taskmanager.job.task.operator.numBytesSend

frequently report a value decrement for exactly once kafka sink.
This is because KafkaWriter#initKafkaMetrics is called per producer and resets 
byteOutMetric but not latestOutgoingByteTotal
KafkaWriter#registerMetricSync calculates the delta of outgoingBytesUntilNow - 
latestOutgoingByteTotal so every time a new producer is spawned, 
numBytesOutCounter.inc is called with a negative delta, (0 - 
latestOutgoingByteTotal of the former producer)

Report URL: 
https://github.com/apache/flink-connector-kafka/actions/runs/27200806772

With regards,
GitHub Actions via GitBox

Reply via email to