From 4dabb0b366237d11cfdde44750a4fdbf4e6495ad Mon Sep 17 00:00:00 2001 From: katmayb Date: Fri, 2 May 2025 15:26:09 -0400 Subject: [PATCH 1/2] Add webhook sinks to the compression option for changefeeds --- src/current/v25.2/create-changefeed.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/current/v25.2/create-changefeed.md b/src/current/v25.2/create-changefeed.md index 1760966d9b7..a65f49d09d8 100644 --- a/src/current/v25.2/create-changefeed.md +++ b/src/current/v25.2/create-changefeed.md @@ -111,7 +111,7 @@ Parameter |
Sink Type
|
`avro_schema_prefix` | Schema prefix name | Provide a namespace for the schema of a table in addition to the default, the table name. This allows multiple databases or clusters to share the same schema registry when the same table name is present in multiple databases.

Example: `CREATE CHANGEFEED FOR foo WITH format=avro, confluent_schema_registry='registry_url', avro_schema_prefix='super'` will register subjects as `superfoo-key` and `superfoo-value` with the namespace `super`. -`compression` | `gzip`, `zstd` | Compress changefeed data files written to a [cloud storage sink]({% link {{ page.version.version }}/changefeed-sinks.md %}#cloud-storage-sink). For compression options when using a Kafka sink, see [Kafka sink configuration]({% link {{ page.version.version }}/changefeed-sinks.md %}#kafka-sink-configuration). +`compression` | `gzip`, `zstd` | Compress changefeed data files written to:. For compression options when using a Kafka sink, see [Kafka sink configuration]({% link {{ page.version.version }}/changefeed-sinks.md %}#kafka-sink-configuration). `confluent_schema_registry` | Schema Registry address | The [Schema Registry](https://docs.confluent.io/current/schema-registry/docs/index.html#sr) address is required to use `avro`.

{% include {{ page.version.version }}/cdc/schema-registry-timeout.md %}

{% include {{ page.version.version }}/cdc/confluent-cloud-sr-url.md %}

{% include {{ page.version.version }}/cdc/schema-registry-metric.md %} `cursor` | [Timestamp]({% link {{ page.version.version }}/as-of-system-time.md %}#parameters) | Emit any changes after the given timestamp. `cursor` does not output the current state of the table first. When `cursor` is not specified, the changefeed starts by doing an initial scan of all the watched rows and emits the current value, then moves to emitting any changes that happen after the scan.

The changefeed will encounter an error if you specify a timestamp that is before the configured garbage collection window for the target table. (Refer to [`gc.ttlseconds`]({% link {{ page.version.version }}/configure-replication-zones.md %}#replication-zone-variables).) With default garbage collection settings, this means you cannot create a changefeed that starts more than [the-default-MVCC-garbage-collection-interval]({% link {{ page.version.version }}/configure-replication-zones.md %}#gc-ttlseconds) in the past.

You can use `cursor` to [start-a-new-changefeed-where-a-previous-changefeed-ended](#start-a-new-changefeed-where-another-ended).

Example: `cursor='1536242855577149065.0000000000'` `diff` | N/A | Publish a [`before` field]({% link {{ page.version.version }}/changefeed-messages.md %}#wrapped-and-diff) with each message, which includes the value of the row before the update was applied. Changefeeds must use the `diff` option with the default [`wrapped` envelope](#envelope) to emit the `before` field. From 5ab74dbe2628f1765da1e28b9658af71a443fc33 Mon Sep 17 00:00:00 2001 From: katmayb Date: Tue, 6 May 2025 09:32:06 -0400 Subject: [PATCH 2/2] Correct links --- src/current/v25.2/create-changefeed.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/current/v25.2/create-changefeed.md b/src/current/v25.2/create-changefeed.md index a65f49d09d8..be5fb5dbb50 100644 --- a/src/current/v25.2/create-changefeed.md +++ b/src/current/v25.2/create-changefeed.md @@ -111,7 +111,7 @@ Parameter |
Sink Type
|
`avro_schema_prefix` | Schema prefix name | Provide a namespace for the schema of a table in addition to the default, the table name. This allows multiple databases or clusters to share the same schema registry when the same table name is present in multiple databases.

Example: `CREATE CHANGEFEED FOR foo WITH format=avro, confluent_schema_registry='registry_url', avro_schema_prefix='super'` will register subjects as `superfoo-key` and `superfoo-value` with the namespace `super`. -`compression` | `gzip`, `zstd` | Compress changefeed data files written to:
  • [Cloud storage sinks]({% link {{ page.version.version }}/changefeed-sinks.md %}#webhook-sink)
  • New in v25.2:[Webhook sinks]({% link {{ page.version.version }}/changefeed-sinks.md %}#cloud-storage-sink)
. For compression options when using a Kafka sink, see [Kafka sink configuration]({% link {{ page.version.version }}/changefeed-sinks.md %}#kafka-sink-configuration). +`compression` | `gzip`, `zstd` | Compress changefeed data files written to:
  • [Cloud storage sinks]({% link {{ page.version.version }}/changefeed-sinks.md %}#cloud-storage-sink)
  • New in v25.2:[Webhook sinks]({% link {{ page.version.version }}/changefeed-sinks.md %}#webhook-sink)
. For compression options when using a Kafka sink, see [Kafka sink configuration]({% link {{ page.version.version }}/changefeed-sinks.md %}#kafka-sink-configuration). `confluent_schema_registry` | Schema Registry address | The [Schema Registry](https://docs.confluent.io/current/schema-registry/docs/index.html#sr) address is required to use `avro`.

{% include {{ page.version.version }}/cdc/schema-registry-timeout.md %}

{% include {{ page.version.version }}/cdc/confluent-cloud-sr-url.md %}

{% include {{ page.version.version }}/cdc/schema-registry-metric.md %} `cursor` | [Timestamp]({% link {{ page.version.version }}/as-of-system-time.md %}#parameters) | Emit any changes after the given timestamp. `cursor` does not output the current state of the table first. When `cursor` is not specified, the changefeed starts by doing an initial scan of all the watched rows and emits the current value, then moves to emitting any changes that happen after the scan.

The changefeed will encounter an error if you specify a timestamp that is before the configured garbage collection window for the target table. (Refer to [`gc.ttlseconds`]({% link {{ page.version.version }}/configure-replication-zones.md %}#replication-zone-variables).) With default garbage collection settings, this means you cannot create a changefeed that starts more than [the-default-MVCC-garbage-collection-interval]({% link {{ page.version.version }}/configure-replication-zones.md %}#gc-ttlseconds) in the past.

You can use `cursor` to [start-a-new-changefeed-where-a-previous-changefeed-ended](#start-a-new-changefeed-where-another-ended).

Example: `cursor='1536242855577149065.0000000000'` `diff` | N/A | Publish a [`before` field]({% link {{ page.version.version }}/changefeed-messages.md %}#wrapped-and-diff) with each message, which includes the value of the row before the update was applied. Changefeeds must use the `diff` option with the default [`wrapped` envelope](#envelope) to emit the `before` field.