Skip to content

Commit

Permalink
Added transaction to kafka bindings as a first draft
Browse files Browse the repository at this point in the history
  • Loading branch information
piotr.konopacki committed Jul 28, 2024
1 parent 1a62858 commit d07c6cf
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions kafka/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ Field Name | Type |
<a name="channelBindingObjectReplicas"></a>`replicas` | integer | Number of replicas configured on this topic. | OPTIONAL | MUST be positive
<a name="channelBindingObjectTopicConfiguration"></a>`topicConfiguration` | [TopicConfiguration Object](#topicConfiguration) | Topic configuration properties that are relevant for the API. | OPTIONAL | -
<a name="channelBindingObjectBindingVersion"></a>`bindingVersion` | string | The version of this binding. If omitted, "latest" MUST be assumed. | OPTIONAL [`latest`] | -
<a name="channelBindingObjectTransactionConfiguration"></a>`transaction` | [TransacionConfiguration Object](#transactionConfiguration) | Transaction configuration properites that are revelan for the API. | OPTIONAL | -


This object MUST contain only the properties defined above.
Expand Down Expand Up @@ -107,6 +108,17 @@ topicConfiguration:
confluent.value.subject.name.strategy: "TopicNameStrategy"
```

<a name="transactionConfiguration"></a>

## TransactionConfiguration Object

This objects contains information about the API relevant transaction configuration in Kafka.

Field Name | Type | Description | Applicability [default] | Constraints
---|:-------:|:--------------------------------------------------------------------------------------------------------------------------------------------------------------------:|:-----------------------:|---
<a name="transactionConfigurationTransactionalId"></a>`transactional.id` | string | The [`transacional.id`](https://kafka.apache.org/documentation/#producerconfigs_transactional.id) configuration option. | OPTIONAL | -
<a name="transactionConfigurationCommitIntervalMs"></a>`commit.interval.ms` | long | The [`commit.interval.ms`](https://kafka.apache.org/documentation/#producerconfigs_transactional.id) configuration option. | OPTIONAL | -

<a name="operation"></a>

## Operation Binding Object
Expand Down

0 comments on commit d07c6cf

Please sign in to comment.