Interface ClientTelemetryReceiver
Deprecated, for removal: This API element is subject to removal in a future version.
ClientTelemetryReceiver defines the behaviour for telemetry receiver on the broker side which receives client telemetry metrics.Method Summary
Modifier and TypeMethodDescriptionvoidexportMetrics(AuthorizableRequestContext context, ClientTelemetryPayload payload) Deprecated, for removal: This API element is subject to removal in a future version.Called by the broker when a client reports telemetry metrics.
Method Details
exportMetrics
Deprecated, for removal: This API element is subject to removal in a future version.Called by the broker when a client reports telemetry metrics. The associated request context can be used by the metrics plugin to retrieve additional client information such as client ids or endpoints.This method may be called from the request handling thread, and as such should avoid blocking.
- Parameters:
context- the client request context for the correspondingPushTelemetryRequestapi call.payload- the encoded telemetry payload as sent by the client.
ClientTelemetryExporterinstead. This interface will be removed in Kafka 5.0.0. The new interface provides additional context including the push interval to enable better metric lifecycle management.