From d07c6cf4c904ee10214d61e5ae6076dd4f9f3bdf Mon Sep 17 00:00:00 2001 From: "piotr.konopacki" Date: Sun, 28 Jul 2024 12:57:19 +0100 Subject: [PATCH] Added transaction to kafka bindings as a first draft --- kafka/README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/kafka/README.md b/kafka/README.md index 48a405c8..808840a2 100644 --- a/kafka/README.md +++ b/kafka/README.md @@ -51,6 +51,7 @@ Field Name | Type | `replicas` | integer | Number of replicas configured on this topic. | OPTIONAL | MUST be positive `topicConfiguration` | [TopicConfiguration Object](#topicConfiguration) | Topic configuration properties that are relevant for the API. | OPTIONAL | - `bindingVersion` | string | The version of this binding. If omitted, "latest" MUST be assumed. | OPTIONAL [`latest`] | - +`transaction` | [TransacionConfiguration Object](#transactionConfiguration) | Transaction configuration properites that are revelan for the API. | OPTIONAL | - This object MUST contain only the properties defined above. @@ -107,6 +108,17 @@ topicConfiguration: confluent.value.subject.name.strategy: "TopicNameStrategy" ``` + + +## TransactionConfiguration Object + +This objects contains information about the API relevant transaction configuration in Kafka. + +Field Name | Type | Description | Applicability [default] | Constraints +---|:-------:|:--------------------------------------------------------------------------------------------------------------------------------------------------------------------:|:-----------------------:|--- +`transactional.id` | string | The [`transacional.id`](https://kafka.apache.org/documentation/#producerconfigs_transactional.id) configuration option. | OPTIONAL | - +`commit.interval.ms` | long | The [`commit.interval.ms`](https://kafka.apache.org/documentation/#producerconfigs_transactional.id) configuration option. | OPTIONAL | - + ## Operation Binding Object