From a9fc0a23541e6e315399046ad59ef115c6f5e3a9 Mon Sep 17 00:00:00 2001 From: Kathryn May <44557882+kathancox@users.noreply.github.com> Date: Mon, 10 Jun 2024 16:40:46 -0400 Subject: [PATCH] Correct JSON config for kafka_sink_config option (#18635) --- src/current/v22.2/changefeed-sinks.md | 2 +- src/current/v23.1/changefeed-sinks.md | 2 +- src/current/v23.2/changefeed-sinks.md | 2 +- src/current/v24.1/changefeed-sinks.md | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/current/v22.2/changefeed-sinks.md b/src/current/v22.2/changefeed-sinks.md index 68c935a2fcd..c640a6e649c 100644 --- a/src/current/v22.2/changefeed-sinks.md +++ b/src/current/v22.2/changefeed-sinks.md @@ -91,7 +91,7 @@ Each of the following settings have significant impact on a changefeed's behavio {{site.data.alerts.end}} ~~~ -kafka_sink_config='{"Flush": {"MaxMessages": 1, "Frequency": "1s"}, "Version": "0.8.2.0", "RequiredAcks": "ONE". "Compression": "GZIP" }' +kafka_sink_config='{"Flush": {"MaxMessages": 1, "Frequency": "1s"}, "Version": "0.8.2.0", "RequiredAcks": "ONE", "Compression": "GZIP" }' ~~~ `"Flush"."MaxMessages"` and `"Flush"."Frequency"` are configurable batching parameters depending on latency and throughput needs. For example, if `"MaxMessages"` is set to 1000 and `"Frequency"` to 1 second, it will flush to Kafka either after 1 second or after 1000 messages are batched, whichever comes first. It's important to consider that if there are not many messages, then a `"1s"` frequency will add 1 second latency. However, if there is a larger influx of messages these will be flushed quicker. diff --git a/src/current/v23.1/changefeed-sinks.md b/src/current/v23.1/changefeed-sinks.md index 5f3e17f5ed1..1d83c09325a 100644 --- a/src/current/v23.1/changefeed-sinks.md +++ b/src/current/v23.1/changefeed-sinks.md @@ -114,7 +114,7 @@ Each of the following settings have significant impact on a changefeed's behavio {{site.data.alerts.end}} ~~~ -kafka_sink_config='{"Flush": {"MaxMessages": 1, "Frequency": "1s"}, "Version": "0.8.2.0", "RequiredAcks": "ONE". "Compression": "GZIP" }' +kafka_sink_config='{"Flush": {"MaxMessages": 1, "Frequency": "1s"}, "Version": "0.8.2.0", "RequiredAcks": "ONE", "Compression": "GZIP" }' ~~~ `"Flush"."MaxMessages"` and `"Flush"."Frequency"` are configurable batching parameters depending on latency and throughput needs. For example, if `"MaxMessages"` is set to 1000 and `"Frequency"` to 1 second, it will flush to Kafka either after 1 second or after 1000 messages are batched, whichever comes first. It's important to consider that if there are not many messages, then a `"1s"` frequency will add 1 second latency. However, if there is a larger influx of messages these will be flushed quicker. diff --git a/src/current/v23.2/changefeed-sinks.md b/src/current/v23.2/changefeed-sinks.md index f8cf997c883..7a073da7698 100644 --- a/src/current/v23.2/changefeed-sinks.md +++ b/src/current/v23.2/changefeed-sinks.md @@ -115,7 +115,7 @@ Each of the following settings have significant impact on a changefeed's behavio {{site.data.alerts.end}} ~~~ -kafka_sink_config='{"Flush": {"MaxMessages": 1, "Frequency": "1s"}, "Version": "0.8.2.0", "RequiredAcks": "ONE". "Compression": "GZIP" }' +kafka_sink_config='{"Flush": {"MaxMessages": 1, "Frequency": "1s"}, "Version": "0.8.2.0", "RequiredAcks": "ONE", "Compression": "GZIP" }' ~~~ `"Flush"."MaxMessages"` and `"Flush"."Frequency"` are configurable batching parameters depending on latency and throughput needs. For example, if `"MaxMessages"` is set to 1000 and `"Frequency"` to 1 second, it will flush to Kafka either after 1 second or after 1000 messages are batched, whichever comes first. It's important to consider that if there are not many messages, then a `"1s"` frequency will add 1 second latency. However, if there is a larger influx of messages these will be flushed quicker. diff --git a/src/current/v24.1/changefeed-sinks.md b/src/current/v24.1/changefeed-sinks.md index 083044fea75..b408796bb75 100644 --- a/src/current/v24.1/changefeed-sinks.md +++ b/src/current/v24.1/changefeed-sinks.md @@ -117,7 +117,7 @@ Each of the following settings have significant impact on a changefeed's behavio {{site.data.alerts.end}} ~~~ -kafka_sink_config='{"Flush": {"MaxMessages": 1, "Frequency": "1s"}, "ClientID": "kafka_client_ID", "Version": "0.8.2.0", "RequiredAcks": "ONE". "Compression": "GZIP" }' +kafka_sink_config='{"Flush": {"MaxMessages": 1, "Frequency": "1s"}, "ClientID": "kafka_client_ID", "Version": "0.8.2.0", "RequiredAcks": "ONE", "Compression": "GZIP" }' ~~~ `"Flush"."MaxMessages"` and `"Flush"."Frequency"` are configurable batching parameters depending on latency and throughput needs. For example, if `"MaxMessages"` is set to 1000 and `"Frequency"` to 1 second, it will flush to Kafka either after 1 second or after 1000 messages are batched, whichever comes first. It's important to consider that if there are not many messages, then a `"1s"` frequency will add 1 second latency. However, if there is a larger influx of messages these will be flushed quicker.