DBZ-1368 Change default toasted value

This commit is contained in:
Jiri Pechanec 2019-09-25 16:36:16 +02:00 committed by Gunnar Morling
parent f670fef77e
commit 0e2a79eba5
3 changed files with 3 additions and 3 deletions

View File

@ -776,7 +776,7 @@ public static SchemaRefreshMode parse(String value) {
.withDisplayName("Toasted value placeholder") .withDisplayName("Toasted value placeholder")
.withType(Type.STRING) .withType(Type.STRING)
.withWidth(Width.MEDIUM) .withWidth(Width.MEDIUM)
.withDefault("__DEBEZIUM_TOASTED_VALUE__") .withDefault("__debezium_unavailable_value")
.withImportance(Importance.MEDIUM) .withImportance(Importance.MEDIUM)
.withDescription("Specify the constant that will be provided by Debezium to indicate that " + .withDescription("Specify the constant that will be provided by Debezium to indicate that " +
"the original value is a toasted value not provided by the database." + "the original value is a toasted value not provided by the database." +

View File

@ -15,7 +15,7 @@
* *
*/ */
public class DecoderDifferences { public class DecoderDifferences {
static final String TOASTED_VALUE_PLACEHOLDER = "__DEBEZIUM_TOASTED_VALUE__"; static final String TOASTED_VALUE_PLACEHOLDER = "__debezium_unavailable_value";
/** /**
* wal2json plugin does not send events for updates on tables that does not define primary key. * wal2json plugin does not send events for updates on tables that does not define primary key.

View File

@ -1686,7 +1686,7 @@ See xref:configuration/avro.adoc#names[Avro naming] for more details.
|The number of milli-seconds to wait between retry attempts when the connector fails to connect to a replication slot. |The number of milli-seconds to wait between retry attempts when the connector fails to connect to a replication slot.
|`toasted.value.placeholder` |`toasted.value.placeholder`
|`__DEBEZIUM_TOASTED_VALUE__` |`__debezium_unavailable_value`
|Specify the constant that will be provided by Debezium to indicate that the original value is a toasted value not provided by the database. |Specify the constant that will be provided by Debezium to indicate that the original value is a toasted value not provided by the database.
If starts with `hex:` prefix it is expected that the rest of the string repesents hexadecimally encoded octets. If starts with `hex:` prefix it is expected that the rest of the string repesents hexadecimally encoded octets.
See link:#toasted-values[section] with additional details. See link:#toasted-values[section] with additional details.