Class RecoveringDeserializationExceptionHandler

java.lang.Object
org.springframework.kafka.streams.RecoveringDeserializationExceptionHandler
All Implemented Interfaces:
org.apache.kafka.common.Configurable, org.apache.kafka.streams.errors.DeserializationExceptionHandler

public class RecoveringDeserializationExceptionHandler extends Object implements org.apache.kafka.streams.errors.DeserializationExceptionHandler
A DeserializationExceptionHandler that calls a ConsumerRecordRecoverer. and continues.
Since:
2.3
Author:
Gary Russell
  • Field Details

    • KSTREAM_DESERIALIZATION_RECOVERER

      public static final String KSTREAM_DESERIALIZATION_RECOVERER
      Property name for configuring the recoverer using properties.
      See Also:
  • Constructor Details

    • RecoveringDeserializationExceptionHandler

      public RecoveringDeserializationExceptionHandler()
    • RecoveringDeserializationExceptionHandler

      public RecoveringDeserializationExceptionHandler(ConsumerRecordRecoverer recoverer)
  • Method Details

    • handle

      public org.apache.kafka.streams.errors.DeserializationExceptionHandler.DeserializationHandlerResponse handle(org.apache.kafka.streams.processor.ProcessorContext context, org.apache.kafka.clients.consumer.ConsumerRecord<byte[],byte[]> record, Exception exception)
      Specified by:
      handle in interface org.apache.kafka.streams.errors.DeserializationExceptionHandler
    • configure

      public void configure(Map<String,?> configs)
      Specified by:
      configure in interface org.apache.kafka.common.Configurable