Interface KafkaProducerTelemetry.KafkaProducerRecordTelemetryContext

All Superinterfaces:
org.apache.kafka.clients.producer.Callback
Enclosing interface:
KafkaProducerTelemetry

public static interface KafkaProducerTelemetry.KafkaProducerRecordTelemetryContext extends org.apache.kafka.clients.producer.Callback
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    onCompletion(org.apache.kafka.clients.producer.RecordMetadata metadata, Exception exception)
     
    void
     
    void
    sendEnd(org.apache.kafka.clients.producer.RecordMetadata metadata)
     
  • Method Details

    • sendEnd

      void sendEnd(Throwable e)
    • sendEnd

      void sendEnd(org.apache.kafka.clients.producer.RecordMetadata metadata)
    • onCompletion

      default void onCompletion(@Nullable org.apache.kafka.clients.producer.RecordMetadata metadata, @Nullable Exception exception)
      Specified by:
      onCompletion in interface org.apache.kafka.clients.producer.Callback