Azure key vault for EventHub configuration file - Connect_CDC - connect_cdc_mimix_share - Latest

Connect CDC Getting Started Guide

Product type
Software
Portfolio
Integrate
Product family
Connect
Product
Connect > Connect CDC (MIMIX Share)
Version
Latest
Language
English
Product name
Connect CDC
Title
Connect CDC Getting Started Guide
Copyright
2024
First publish date
2003
Last updated
2024-09-11
Published on
2024-09-11T13:50:21.429182

Azure key vault for EventHub connections is supported through Azure Managed Identities which requires the CDC Listener process to be running on Azure VM for successfully authentication to azure environments. The authentication retrieves the secrets from the Key vault and use the connection string (Secret) to authenticate to EventHub which removes the use of connection string in Kafka config properties file.

Sample Azure key vault properties file for Azure service

bootstrap.servers=connectehub.servicebus.windows.net:9093
security.protocol=SASL_SSL

sasl.jaas.config=org.apache.kafka.common.security.plain.PlainLoginModule  required username="$ConnectionString"   password="{keyValue}";

sasl.mechanism=PLAIN
Note: In sasl.jaas.config property, the password must be set to "{keyValue}" instead of the connection string.