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
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.kafka.streams.errors.DeserializationExceptionHandler
org.apache.kafka.streams.errors.DeserializationExceptionHandler.DeserializationHandlerResponse
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Property name for configuring the recoverer using properties. -
Constructor Summary
ConstructorDescription -
Method Summary
-
Field Details
-
KSTREAM_DESERIALIZATION_RECOVERER
Property name for configuring the recoverer using properties.- See Also:
-
-
Constructor Details
-
RecoveringDeserializationExceptionHandler
public RecoveringDeserializationExceptionHandler() -
RecoveringDeserializationExceptionHandler
-
-
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 interfaceorg.apache.kafka.streams.errors.DeserializationExceptionHandler
-
configure
- Specified by:
configure
in interfaceorg.apache.kafka.common.Configurable
-