Package io.debezium.processors.spi
Interface PostProcessor
- All Superinterfaces:
AutoCloseable
- All Known Implementing Classes:
ReselectColumnsPostProcessor
A contract that defines a post-processing step that can be applied to any outgoing event
before it is added to the change event queue.
While this may seem similar to a Kafka Transformation, the difference is that a post processor
operates on the raw
Struct
objects which are still mutable, allowing for a variety of
use cases that wish to have the full data set of a row for the post-processing step.
In addition, there are several injection-aware contracts that can be used in conjunction with
the post processor to automatically have specific Debezium internal objects injected into the
post processor automatically at connector start-up.- Author:
- Chris Cranford
-
Method Summary
-
Method Details
-
configure
Configure the post processor.- Parameters:
properties
- map of configurable properties
-
apply
Apply the post processor to the supplied key and value.- Parameters:
key
- the event's key, may benull
value
- the event's value, may benull
-
close
void close()Close any resources- Specified by:
close
in interfaceAutoCloseable
-