Kafka bindings component add version (#2192)

* Kafka bindings component add version

Signed-off-by: light-pan <373465009@qq.com>

* Kafka bindings component add version

Signed-off-by: light-pan <373465009@qq.com>

Co-authored-by: Mark Fussell <mfussell@microsoft.com>
This commit is contained in:
light-pan 2022-02-19 04:08:49 +08:00 committed by GitHub
parent 931a4acfbc
commit a095bf643c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -39,6 +39,8 @@ spec:
key: saslPasswordSecret
- name: maxMessageBytes # Optional.
value: 1024
- name: version # Optional.
value: 1.0.0
```
## Spec metadata fields
@ -54,6 +56,7 @@ spec:
| saslPassword | N | Input/Output | The SASL password used for authentication. Can be `secretKeyRef` to use a [secret reference]({{< ref component-secrets.md >}}). Only required if `authRequired` is set to `"true"`. | `""`, `"KeFg23!"` |
| initialOffset | N | The initial offset to use if no offset was previously committed. Should be "newest" or "oldest". Defaults to "newest". | `"oldest"` |
| maxMessageBytes | N | Input/Output | The maximum size in bytes allowed for a single Kafka message. Defaults to 1024. | `2048` |
| version | N | Kafka cluster version. Defaults to 1.0.0 | `1.0.0`
## Binding support