DUE TO SPAM, SIGN-UP IS DISABLED. Goto Selfserve wiki signup and request an account.
...
As such there are no functional changes at all. The below changes arise when we deprecate 2 configs.
| Code Block | ||||
|---|---|---|---|---|
| ||||
@Deprecated
public static final String DEFAULT_DESERIALIZATION_EXCEPTION_HANDLER_CLASS_CONFIG = "default.deserialization.exception.handler";
public static final String DESERIALIZATION_EXCEPTION_HANDLER_CLASS_DOC = "Exception handling class that implements the <code>org.apache.kafka.streams.errors.DeserializationExceptionHandler</code> interface.";
/** {@code default.production.exception.handler} */
@SuppressWarnings("WeakerAccess")
@Deprecated
public static final String DEFAULT_PRODUCTION_EXCEPTION_HANDLER_CLASS_CONFIG = "default.production.exception.handler";
private static final String PRODUCTION_EXCEPTION_HANDLER_CLASS_DOC = "Exception handling class that implements the <code>org.apache.kafka.streams.errors.ProductionExceptionHandler</code> interface.";
public static final String DESERIALIZATION_EXCEPTION_HANDLER_CLASS_CONFIG = "deserialization.exception.handler";
/** {@code default.production.exception.handler} */
@SuppressWarnings("WeakerAccess")
public static final String PRODUCTION_EXCEPTION_HANDLER_CLASS_CONFIG = "production.exception.handler"; |
- Deprecate the below two configs in org.apache.kafka.streams.StreamsConfig
- default.deserialization.exception.handler
- default.production.exception.handler
- Configs to be added to org.apache.kafka.streams.StreamsConfig
- deserialization.exception.handler
- production.exception.handler
- Rename the below template configs
- DEFAULT_DESERIALIZATION_EXCEPTION_HANDLER_CLASS_DOC to DESERIALIZATION_EXCEPTION_HANDLER_CLASS_DOC
- DEFAULT_PRODUCTION_EXCEPTION_HANDLER_CLASS_DOC to PRODUCTION_EXCEPTION_HANDLER_CLASS_DOC
- Update all the relevant dependency classes, so that both old and new configs are supported
- Update ConfigDef in TopologyConfig and code blocks like isTopologyOverride(DEFAULT_DESERIALIZATION_EXCEPTION_HANDLER_CLASS_CONFIG, topologyOverrides)) with new configs, so that code behaves the same for both the old and new configs
- RecordDeserializer
- Mark the tests depending on old configs as deprecated and introduce new tests in the below
- InternalTopologyBuilderTest
- StreamTaskTest
- StreamThreadTest
...