From 887a526959d22c4e9bc25122ffc725bd3d29ed8f Mon Sep 17 00:00:00 2001 From: Sergey Krutsko Date: Fri, 5 Nov 2021 11:19:04 +0300 Subject: [PATCH 1/2] add version field --- .../supported-pubsub/setup-apache-kafka.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/daprdocs/content/en/reference/components-reference/supported-pubsub/setup-apache-kafka.md b/daprdocs/content/en/reference/components-reference/supported-pubsub/setup-apache-kafka.md index 277b738bf..209945e3a 100644 --- a/daprdocs/content/en/reference/components-reference/supported-pubsub/setup-apache-kafka.md +++ b/daprdocs/content/en/reference/components-reference/supported-pubsub/setup-apache-kafka.md @@ -39,6 +39,8 @@ spec: value: 1024 - name: consumeRetryInterval # Optional. value: 200ms + - name: version + value: 0.10.2.0 ``` ## Spec metadata fields @@ -54,6 +56,7 @@ spec: | initialOffset | N | The initial offset to use if no offset was previously committed. Should be "newest" or "oldest". Defaults to "newest". | `"oldest"` | maxMessageBytes | N | The maximum size in bytes allowed for a single Kafka message. Defaults to 1024. | `2048` | consumeRetryInterval | N | The interval between retries when attempting to consume topics. Treats numbers without suffix as milliseconds. Defaults to 100ms. | `200ms` +| version | N | Kafka cluster version. Defaults to `2.0.0.0` | `0.10.2.0` ## Per-call metadata fields From d0dbd3fc37a5166100a0b4388f077959b374a99a Mon Sep 17 00:00:00 2001 From: Sergey Krutsko Date: Fri, 5 Nov 2021 11:22:37 +0300 Subject: [PATCH 2/2] version is optional --- .../components-reference/supported-pubsub/setup-apache-kafka.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daprdocs/content/en/reference/components-reference/supported-pubsub/setup-apache-kafka.md b/daprdocs/content/en/reference/components-reference/supported-pubsub/setup-apache-kafka.md index 209945e3a..aff7ecb8a 100644 --- a/daprdocs/content/en/reference/components-reference/supported-pubsub/setup-apache-kafka.md +++ b/daprdocs/content/en/reference/components-reference/supported-pubsub/setup-apache-kafka.md @@ -39,7 +39,7 @@ spec: value: 1024 - name: consumeRetryInterval # Optional. value: 200ms - - name: version + - name: version # Optional. value: 0.10.2.0 ```