Package io.debezium.server
Class BaseChangeConsumer
java.lang.Object
io.debezium.server.BaseChangeConsumer
Basic services provided to all change consumers.
- Author:
- Jiri Pechanec
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) jakarta.enterprise.inject.Instance<StreamNameMapper>private static final org.slf4j.Loggerprotected StreamNameMapper -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionconvertHeaders(io.debezium.engine.ChangeEvent<Object, Object> record) protected byte[]getConfigSubset(org.eclipse.microprofile.config.Config config, String prefix) Get a subset of the configuration properties that matches the given prefix.protected String(package private) voidinit()protected StringunsupportedTypeMessage(Object object)
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER -
streamNameMapper
-
customStreamNameMapper
-
-
Constructor Details
-
BaseChangeConsumer
public BaseChangeConsumer()
-
-
Method Details
-
init
@PostConstruct void init() -
getConfigSubset
protected Map<String,Object> getConfigSubset(org.eclipse.microprofile.config.Config config, String prefix) Get a subset of the configuration properties that matches the given prefix.- Parameters:
config- The global configuration object to extract the subset from.prefix- The prefix to filter property names.- Returns:
- A subset of the original configuration properties containing property names without the prefix.
-
getBytes
-
getString
-
unsupportedTypeMessage
-
convertHeaders
-