Hello,
We are using Debezium in embedded mode. We're using the offset.storage property to specify a class that implements OffsetBackingStore, which Debezium is instantiating using the no-arg constructor.
We have some things that need to be configured on this object after it is created but before Debezium uses it. Is there a pattern that people use to make this happen?
For example, is there a way to do any of the following?
- Pass in an object instead of a String class name
- Get Debezium to create the object that will be used, get the object from Debezium, and start Debezium later on
- Pass in a generalized configuration to the object
We're falling back to using @Configurable, but it's starting to get really complicated especially when running more than one Debezium in memory, for example during tests.
We also have this problem with other configurable classes, such as NotificationChannel, SchemaHistory, and SignalChannelReader.
Thanks for the attention!