Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DBZ-7071 Introduce internal schema change exclusion option #4961

Merged
merged 1 commit into from Oct 25, 2023

Conversation

Naros
Copy link
Member

@Naros Naros commented Oct 25, 2023

https://issues.redhat.com/browse/DBZ-7071

Add a new internal log.mining.schema_changes.username.exclude.list to allow users to customize the default behavior for excluding the SYS and SYSTEM usernames from DDL changes.

Add a new internal `log.mining.schema_changes.username.exclude.list` to allow users
to customize the default behavior for excluding the SYS and SYSTEM usernames from
DDL changes.
@Naros Naros added the 2.5 label Oct 25, 2023
@Naros
Copy link
Member Author

Naros commented Oct 25, 2023

/packit test --labels oracle

@Naros
Copy link
Member Author

Naros commented Oct 25, 2023

Failures are unrelated to the change (added as part of DBZ-7072).

@@ -781,6 +791,7 @@ public OracleConnectorConfig(Configuration config) {
this.logMiningRestartConnection = config.getBoolean(LOG_MINING_RESTART_CONNECTION);
this.logMiningMaxScnDeviation = Duration.ofMillis(config.getLong(LOG_MINING_MAX_SCN_DEVIATION_MS));
this.logMiningInifispanGlobalConfiguration = config.getString(LOG_MINING_BUFFER_INFINISPAN_CACHE_GLOBAL);
this.logMiningSchemaChangesUsernameExcludes = Strings.setOf(config.getString(LOG_MINING_SCHEMA_CHANGES_USERNAME_EXCLUDE_LIST), String::new);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am going to keep it here as it is the same as in other case of the class but IMHO Function.identity() would better reflect the meaning.

@jpechane jpechane merged commit a1b88e9 into debezium:main Oct 25, 2023
28 of 30 checks passed
@jpechane
Copy link
Contributor

@Naros Applied, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
2 participants