Skip to content

Commit

Permalink
Add CompressionLevel and make v2 Kafka sink default (#19169)
Browse files Browse the repository at this point in the history
  • Loading branch information
kathancox authored Dec 10, 2024
1 parent 2060709 commit dc20fdc
Show file tree
Hide file tree
Showing 5 changed files with 80 additions and 33 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Changefeeds created in v24.3 of CockroachDB that emit to [Kafka]({% link {{ page.version.version }}/changefeed-sinks.md %}#kafka), or changefeeds created in earlier versions with the `changefeed.new_kafka_sink.enabled` cluster setting enabled, do not support negative compression level values for `GZIP` compression in the [`kafka_sink_config = {... "CompressionLevel" = ...}`]({% link {{ page.version.version }}/changefeed-sinks.md %}#compressionlevel) option field. [#136492](https://github.com/cockroachdb/cockroach/issues/136492)
2 changes: 1 addition & 1 deletion src/current/v24.3/advanced-changefeed-configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ If you are setting the `resolved` option when you are aiming for high throughput
### Batching and buffering messages

- Batch messages to your sink:
- For a [Kafka sink]({% link {{ page.version.version }}/changefeed-sinks.md %}#kafka), refer to the [`Flush`]({% link {{ page.version.version }}/changefeed-sinks.md %}#kafka-flush) parameter for the `kafka_sink_config` option.
- For a [Kafka sink]({% link {{ page.version.version }}/changefeed-sinks.md %}#kafka), refer to the [`Flush`]({% link {{ page.version.version }}/changefeed-sinks.md %}#flush) parameter for the `kafka_sink_config` option.
- For a [cloud storage sink]({% link {{ page.version.version }}/changefeed-sinks.md %}#cloud-storage-sink), use the [`file_size`]({% link {{ page.version.version }}/create-changefeed.md %}#file-size) parameter to flush a file when it exceeds the specified size.
- For a [webhook sink]({% link {{ page.version.version }}/changefeed-sinks.md %}#webhook-sink), refer to the [`Flush`]({% link {{ page.version.version }}/changefeed-sinks.md %}#webhook-sink-configuration) parameter for the `webhook_sink_config` option.
- Set the [`changefeed.memory.per_changefeed_limit`]({% link {{ page.version.version }}/cluster-settings.md %}) cluster setting to a higher limit to give more memory for buffering changefeed data. This setting influences how often the changefeed will flush buffered messages. This is useful during heavy traffic.
Expand Down
Loading

0 comments on commit dc20fdc

Please sign in to comment.