Skip to content

Commit 54c718f

Browse files
authored
Merge pull request #257859 from wchigit/how-to-kafka
Add kafka client samples for integration with Confluent Kafka
2 parents c5b6e51 + 81c47bb commit 54c718f

File tree

1 file changed

+14
-12
lines changed

1 file changed

+14
-12
lines changed

articles/service-connector/how-to-integrate-confluent-kafka.md

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@ author: maud-lv
55
ms.author: malev
66
ms.service: service-connector
77
ms.topic: how-to
8-
ms.date: 08/11/2022
8+
ms.date: 11/07/2023
99
ms.custom: event-tier1-build-2022
1010
---
1111

1212
# Integrate Apache Kafka on Confluent Cloud with Service Connector
1313

14-
This page shows the supported authentication types and client types of Apache kafka on Confluent Cloud with Service using Service Connector. You might still be able to connect to Apache kafka on Confluent Cloud in other programming languages without using Service Connector. This page also shows default environment variable names and values (or Spring Boot configuration) you get when you create the service connection. You can learn more about [Service Connector environment variable naming convention](concept-service-connector-internals.md).
14+
This page shows supported authentication methods and clients to connect Apache kafka on Confluent Cloud to other cloud services using Service Connector. You might still be able to connect to Apache kafka on Confluent Cloud in other programming languages without using Service Connector. This page also shows default environment variable names and values (or Spring Boot configuration) you get when you create the service connection.
1515

1616
## Supported compute services
1717

@@ -34,18 +34,11 @@ Supported authentication and clients for App Service, Container Apps and Azure S
3434

3535
## Default environment variable names or application properties
3636

37-
Use the connection details below to connect compute services to Kafka. For each example below, replace the placeholder texts `<server-name>`, `<Bootstrap-server-key>`, `<Bootstrap-server-secret>`, `<schema-registry-key>`, and `<schema-registry-secret>` with your server name, Bootstrap server key, Bootstrap server secret, schema registry key, and schema registry secret.
37+
Use the connection details below to connect compute services to Kafka. For each example below, replace the placeholder texts `<server-name>`, `<Bootstrap-server-key>`, `<Bootstrap-server-secret>`, `<schema-registry-key>`, and `<schema-registry-secret>` with your server name, Bootstrap server key, Bootstrap server secret, schema registry key, and schema registry secret. For more information about naming conventions, check the [Service Connector internals](concept-service-connector-internals.md#configuration-naming-convention) article. Refer to [Kafka Client Examples](https://docs.confluent.io/cloud/current/client-apps/examples.html#) to build kafka client applications on Confluent Cloud.
3838

39-
### Azure App Service and Azure Container Apps
39+
### Secret / Connection String
4040

41-
| Default environment variable name | Description | Example value |
42-
|---------------------------------------------|------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------|
43-
| AZURE_CONFLUENTCLOUDKAFKA_BOOTSTRAPSERVER | Your Kafka bootstrap server | `pkc-<server-name>.eastus.azure.confluent.cloud:9092` |
44-
| AZURE_CONFLUENTCLOUDKAFKA_KAFKASASLCONFIG | Your Kafka SASL configuration | `org.apache.kafka.common.security.plain.PlainLoginModule required username='<Bootstrap-server-key>' password='<Bootstrap-server-secret>';` |
45-
| AZURE_CONFLUENTCLOUDSCHEMAREGISTRY_URL | Your Confluent registry URL | `https://psrc-<server-name>.westus2.azure.confluent.cloud` |
46-
| AZURE_CONFLUENTCLOUDSCHEMAREGISTRY_USERINFO | Your Confluent registry user information | `<schema-registry-key>:<schema-registry-secret>` |
47-
48-
### Azure Spring Apps
41+
#### SpringBoot client type
4942

5043
| Default environment variable name | Description | Example value |
5144
|--------------------------------------------------------------|------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------|
@@ -54,6 +47,15 @@ Use the connection details below to connect compute services to Kafka. For each
5447
| spring.kafka.properties.schema.registry.url | Your Confluent registry URL | `https://psrc-<server-name>.westus2.azure.confluent.cloud` |
5548
| spring.kafka.properties.schema.registry.basic.auth.user.info | Your Confluent registry user information | `<schema-registry-key>:<schema-registry-secret>` |
5649

50+
#### Other client types
51+
52+
| Default environment variable name | Description | Example value |
53+
|---------------------------------------------|------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------|
54+
| AZURE_CONFLUENTCLOUDKAFKA_BOOTSTRAPSERVER | Your Kafka bootstrap server | `pkc-<server-name>.eastus.azure.confluent.cloud:9092` |
55+
| AZURE_CONFLUENTCLOUDKAFKA_KAFKASASLCONFIG | Your Kafka SASL configuration | `org.apache.kafka.common.security.plain.PlainLoginModule required username='<Bootstrap-server-key>' password='<Bootstrap-server-secret>';` |
56+
| AZURE_CONFLUENTCLOUDSCHEMAREGISTRY_URL | Your Confluent registry URL | `https://psrc-<server-name>.westus2.azure.confluent.cloud` |
57+
| AZURE_CONFLUENTCLOUDSCHEMAREGISTRY_USERINFO | Your Confluent registry user information | `<schema-registry-key>:<schema-registry-secret>` |
58+
5759
## Next steps
5860

5961
Follow the tutorials listed below to learn more about Service Connector.

0 commit comments

Comments
 (0)