Add Debezium scripting and it's optional JSR 223 dependencies into
server distribution in `lib_opt` directory.
Add these jars into classpath when `ENABLE_DEBEZIUM_SCRIPTING` env.
variable is set to `true`. Otherwise scripting jars are not loaded.
Optional dependencies don't play well with maven assembly pluing and
I didn't find a way how to include optional dependencies into archive
built by assembly plugin.
Split off Debezium optional scripting dependencies into separate module.
Scripting module will have optional dependency on this new module, while
other modules (e.g. server dist module) can use it as a regular
dependency.
DB names is used by logging facilities. As the DB name is required only
for relational DBs, also this abstract class is provided only for
relational DB connectors.
Use this abstract class for SQL server connector, where DB name logging
is already implemented.
DBZ-5089: undo format change
DBZ-5089: add tests for the partition routing
DBZ-5089: remove nonsensical comment
DBZ-5089: partition fieldname is a string; test properly
DBZ-5089: fix one of the failing tests
DBZ-5089: pass args through
DBZ-5089: fix oracle implementation; add configs for mongo connector
DBZ-5089: put partition in additional placement
DBZ-5089: restore formatting
Prior to this fix, when inserting an explicit NULL value to a nullable column which has a default value, resulted in a record which contains the corresponding field with the default value (instead of NULL) after applying ExtractNewRecordState transformation.
A new unit test was added as well.
Change event consumer may specify if is able to consume tombstones or
not. If the it's not, don't send them. However, connector configuration
takes precence and thus cunsumer capability is taken into account only
when `tombstones.on.delete` is not explicitely configured for the
connector.
Also fix debezium server - setting notifier has to be done once embedded
config already exists, not before it.