Skip to content

Commit 8ce9549

Browse files
Merge pull request #219655 from xinlian12/updateKafkaConnectorDoc
UpdateKafkaConnectorDocToIncludeNewConfig
2 parents 6d54f2c + 41c19a4 commit 8ce9549

File tree

3 files changed

+8
-0
lines changed

3 files changed

+8
-0
lines changed

articles/cosmos-db/nosql/kafka-connector-sink.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,9 @@ The following settings are used to configure an Azure Cosmos DB Kafka sink conne
152152
| connect.cosmos.master.key | string | The Azure Cosmos DB primary key that the sink connects with. | Required |
153153
| connect.cosmos.databasename | string | The name of the Azure Cosmos DB database the sink writes to. | Required |
154154
| connect.cosmos.containers.topicmap | string | Mapping between Kafka topics and Azure Cosmos DB containers, formatted using CSV as shown: `topic#container,topic2#container2`. | Required |
155+
| connect.cosmos.connection.gateway.enabled | boolean | Flag to indicate whether to use gateway mode. By default it is false. | Optional |
156+
| connect.cosmos.sink.bulk.enabled | boolean | Flag to indicate whether bulk mode is enabled. By default it is true. | Optional |
157+
| connect.cosmos.sink.maxRetryCount | int | Max retry attempts on transient write failures. By default it is 10 times. | Optional |
155158
| key.converter | string | Serialization format for the key data written into Kafka topic. | Required |
156159
| value.converter | string | Serialization format for the value data written into the Kafka topic. | Required |
157160
| key.converter.schemas.enable | string | Set to "true" if the key data has embedded schema. | Optional |
@@ -337,3 +340,6 @@ You can learn more about change feed in Azure Cosmo DB with the following docs:
337340

338341
* [Introduction to the change feed](https://azurecosmosdb.github.io/labs/dotnet/labs/08-change_feed_with_azure_functions.html)
339342
* [Reading from change feed](read-change-feed.md)
343+
344+
You can learn more about bulk operations in V4 Java SDK with the following docs:
345+
* [Perform bulk operations on Azure Cosmos DB data](https://learn.microsoft.com/azure/cosmos-db/nosql/bulk-executor-java)

articles/cosmos-db/nosql/kafka-connector-source.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,7 @@ The following settings are used to configure the Kafka source connector. These c
153153
| connect.cosmos.master.key | String | The Azure Cosmos DB primary key. | Required |
154154
| connect.cosmos.connection.endpoint | URI | The account endpoint. | Required |
155155
| connect.cosmos.containers.topicmap | String | Comma-separated topic to container mapping. For example, topic1#coll1, topic2#coll2 | Required |
156+
| connect.cosmos.connection.gateway.enabled | boolean | Flag to indicate whether to use gateway mode. By default it is false. | Optional |
156157
| connect.cosmos.messagekey.enabled | Boolean | This value represents if the Kafka message key should be set. Default value is `true` | Required |
157158
| connect.cosmos.messagekey.field | String | Use the field's value from the document as the message key. Default is `id`. | Required |
158159
| connect.cosmos.offset.useLatest | Boolean | Set to `true` to use the most recent source offset. Set to `false` to use the earliest recorded offset. Default value is `false`. | Required |

articles/cosmos-db/nosql/kafka-connector.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,7 @@ The source and sink connectors share the following common configuration properti
133133
| connect.cosmos.master.key | string | The Azure Cosmos DB primary key that the sink connects with. | Required |
134134
| connect.cosmos.databasename | string | The name of the Azure Cosmos DB database the sink writes to. | Required |
135135
| connect.cosmos.containers.topicmap | string | Mapping between Kafka topics and Azure Cosmos DB containers. It is formatted using CSV as `topic#container,topic2#container2` | Required |
136+
| connect.cosmos.connection.gateway.enabled | boolean | Flag to indicate whether to use gateway mode. By default it is false. | Optional |
136137

137138
For sink connector-specific configuration, see the [Sink Connector Documentation](kafka-connector-sink.md)
138139

0 commit comments

Comments
 (0)