DBZ-1436 Referencing default publication name via constant

This commit is contained in:
Gunnar Morling 2019-09-23 20:36:40 +02:00
parent f446ce6ffd
commit c2b66ef2d7

View File

@ -484,7 +484,7 @@ public static SchemaRefreshMode parse(String value) {
.withImportance(Importance.MEDIUM)
.withDefault(ReplicationConnection.Builder.DEFAULT_PUBLICATION_NAME)
.withDescription("The name of the Postgres 10+ publication used for streaming changes from a plugin." +
"Defaults to 'dbz_publication'");
"Defaults to '" + ReplicationConnection.Builder.DEFAULT_PUBLICATION_NAME + "'");
public static final Field STREAM_PARAMS = Field.create("slot.stream.params")
.withDisplayName("Optional parameters to pass to the logical decoder when the stream is started.")