Efrat19 opened a new pull request, #268:
URL: https://github.com/apache/flink-connector-kafka/pull/268

   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 as 
`outgoingBytesUntilNow - latestOutgoingByteTotal` so every time a new producer 
is spawned, `numBytesOutCounter.inc` is called with a negative delta, (0 - 
`latestOutgoingByteTotal` of the former producer)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to