You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: sdk/cosmos/azure-cosmos-kafka-connect/docs/configuration-reference.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,6 +11,7 @@
11
11
|`azure.cosmos.account.key`|`""`| Cosmos DB Account Key (only required in case of `auth.type` as `MasterKey`) |
12
12
|`azure.cosmos.auth.aad.clientId`|`""`| The clientId/ApplicationId of the service principal. Required for `ServicePrincipal` authentication. |
13
13
|`azure.cosmos.auth.aad.clientSecret`|`""`| The client secret/password of the service principal. |
14
+
|`azure.cosmos.auth.aad.authEndpointOverride`|`""`| Overrides the Azure Active Directory (AAD) authentication endpoint. This is useful when the Cosmos DB account resides in a non-public Azure cloud environment such as Azure China, Azure US Government, or Azure Germany. By default, the SDK uses the standard AAD endpoint for the public Azure cloud. Set this value if your deployment requires a custom authority URI (e.g., https://login.chinacloudapi.cn/).|
14
15
|`azure.cosmos.mode.gateway`|`false`| Flag to indicate whether to use gateway mode. By default it is false, means SDK uses direct mode. https://learn.microsoft.com/azure/cosmos-db/nosql/sdk-connection-modes|
15
16
|`azure.cosmos.preferredRegionList`|`[]`| Preferred regions list to be used for a multi region Cosmos DB account. This is a comma separated value (e.g., `[East US, West US]` or `East US, West US`) provided preferred regions will be used as hint. You should use a collocated kafka cluster with your Cosmos DB account and pass the kafka cluster region as preferred region. See list of azure regions [here](https://docs.microsoft.com/dotnet/api/microsoft.azure.documents.locationnames?view=azure-dotnet&preserve-view=true). |
16
17
|`azure.cosmos.application.name`|`""`| Application name. Will be added as the userAgent suffix. |
Copy file name to clipboardExpand all lines: sdk/cosmos/azure-cosmos-kafka-connect/src/main/java/com/azure/cosmos/kafka/connect/implementation/CosmosAadAuthConfig.java
Copy file name to clipboardExpand all lines: sdk/cosmos/azure-cosmos-kafka-connect/src/main/java/com/azure/cosmos/kafka/connect/implementation/CosmosClientStore.java
Copy file name to clipboardExpand all lines: sdk/cosmos/azure-cosmos-kafka-connect/src/main/java/com/azure/cosmos/kafka/connect/implementation/KafkaCosmosConfig.java
+45-7Lines changed: 45 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -68,6 +68,14 @@ public class KafkaCosmosConfig extends AbstractConfig {
68
68
privatestaticfinalStringAAD_CLIENT_SECRET_DISPLAY = "The client secret/password of the service principal.";
privatestaticfinalStringUSE_GATEWAY_MODE_DOC = "Flag to indicate whether to use gateway mode. By default it is false, means SDK uses direct mode. https://learn.microsoft.com/azure/cosmos-db/nosql/sdk-connection-modes";
0 commit comments