Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Polling can be monitored with Consumer fetch metrics, e.g. fetch-latency-avg/max 

Info

Predicates as implemented via PredicatedTransformation will be also measured.

As metrics are recorded at a per-record basis, the implementation for this KIP will include the benchmark of metrics:

Jira
serverASF JIRA
serverId5aa69414-a9e9-3523-82ec-879b028fb15b
keyKAFKA-14441

Public Interfaces

The following metrics would be added at the Task Level:

...

Sensor /  Recording LevelAttribute nameDescription

sink-record-latency

INFO
  • sink-record-latency-max-ms

The maximum latency of a record, measured by comparing the record timestamp with the system time (i.e. wallclock) when it has been received by the Sink task right after consumer poll and before conversions.

  • sink-record-latency-avg-ms
The average latency of a record, measured by comparing the record timestamp with the system time (i.e. wallclock) when it has been received by the Sink task right after consumer poll and before conversions.

convert-sink-record-time

INFO

  • convert-sink-record-time-avg-ms
The average time taken by this task to convert sink records, including key, value, and headers conversion.
  • convert-sink-record-time-max-ms
The maximum time taken by this task to convert sink records, including key, value, and headers conversion.

convert-sink-record-key-time

DEBUG

  • convert-sink-record-key-time-avg-ms
The average time taken by this task to convert sink record keys.
  • convert-sink-record-key-time-max-ms
The maximum time taken by this task to convert sink record keys.

convert-sink-record-value-time

DEBUG

  • convert-sink-record-value-time-avg-ms
The average time taken by this task to convert sink record values.
  • convert-sink-record-value-time-max-ms
The maximum time taken by this task to convert sink record values.

convert-sink-record-headers-time

DEBUG

  • convert-sink-record-headers-time-avg-ms
The average time taken by this task to convert sink record headers.
  • convert-sink-record-headers-time-max-ms
The maximum time taken by this task to convert sink record headers.

transform-chain-sink-record-time

INFO

  • transform-chain-sink-record-time-avg-ms
The average time taken by this task to apply all the transforms included in this task.
  • transform-chain-sink-record-time-max-ms
The maximum time taken by this task to apply all the transforms included in this task.

...