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-PGYB][yugabyte/yugabyte-db#23153] Change default plugin to yboutput #140

Merged
merged 1 commit into from
Jul 9, 2024

Conversation

vaibhav-yb
Copy link
Collaborator

This PR changes the default plugin in the connector to yboutput.

This closes yugabyte/yugabyte-db#23153

@vaibhav-yb vaibhav-yb added the enhancement New feature or request label Jul 9, 2024
@vaibhav-yb vaibhav-yb requested a review from suranjan July 9, 2024 07:32
@vaibhav-yb vaibhav-yb self-assigned this Jul 9, 2024
@asrinivasanyb
Copy link

What about the connector unit tests ? Have they been run ?

@@ -540,15 +540,14 @@ public static SchemaRefreshMode parse(String value) {
public static final Field PLUGIN_NAME = Field.create("plugin.name")
.withDisplayName("Plugin")
.withGroup(Field.createGroupEntry(Field.Group.CONNECTION_ADVANCED_REPLICATION, 0))
.withEnum(LogicalDecoder.class, LogicalDecoder.DECODERBUFS)
.withEnum(LogicalDecoder.class, LogicalDecoder.YBOUTPUT)

Choose a reason for hiding this comment

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

Shouldn't this change be made in a Yugabyte specific connector config class ? Similar to the approach for the hostname config ?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I think this should be fine, we just had to change the default value in the defined field.

For the hostname config, we had to override and already existing field but since this plugin name field is only PostgresConnector specific, there's no other place we can change the default value.

@vaibhav-yb vaibhav-yb merged commit eadea29 into ybdb-debezium-2.5.2 Jul 9, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants