Steve Barber Posted April 24, 2019 Share Posted April 24, 2019 A user asks: Can the StreamBase adapters for Apache Kafka be used with Microsoft Azure Event Hubd Link to comment Share on other sites More sharing options...
Steve Barber Posted April 24, 2019 Author Share Posted April 24, 2019 The answer is yes. A useful getting started with Kafka and Azure Event Hub article is here:https://docs.microsoft.com/en-us/azure/event-hubs/event-hubs-quickstart-kafka-enabled-event-hubs To configure the Apache Kafka adapter for StreamBase instances set these properties: 1. The Adapter Properties >Brokers propertywill be{EVENT HUB NAMESPACE}.servicebus.windows.net:9093 (Do not precede the Brokers value with Endpoint=sb:// or anything else -- use only the FQDN (Fully Qualified Domain Name) and port number.) 2. In the AdvancedOptions > Advanced Configuration property, add these three Keys and Values: security.protocol=SASL_SSL sasl.mechanism=PLAIN sasl.jaas.config=org.apache.kafka.common.security.plain.PlainLoginModule required username="$ConnectionString" password="{CONNECTION STRING for EVENT HUB NAMESPACE}"; Advanced Config Key Value security.protocol SASL_SSL sasl.mechanism PLAIN sasl.jaas.config org.apache.kafka.common.security.plain.PlainLoginModule required username="$ConnectionString" password="{CONNECTION STRING for EVENT HUB NAMESPACE}"; Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now