Azure Event Hubs configuration in Azure portal for Kafka SSL Account

In this Article

Overview

Snaps in the Kafka Snap Pack use the Kafka SSL account to access the Azure application for streaming messages from Azure Event Hubs. For the Kafka SSL account to function without any issue, ensure to create and configure a Event hubs namespace corresponding to the account as explained in the steps below. These steps also contain the information you need to locate in the Azure portal to configure the Kafka SSL account instance for Azure Event Hubs.

Limitations

Azure Event Hubs does not support the following features:

  • Timestamp: Event Hubs does not allow setting timestamps for records explicitly in the Producer API.

  • Compression Type: All types except NONE.

  • Avro and Schema Registry.

Create/access an Event hubs resource in Azure Portal

  1. Log into the Azure portal.

  2. Navigate to Event Hubs.

  3. In the Event Hubs page, click Create event hubs namespace.
    OR 
    Use an existing namespace.
    To use an existing namespace, select the Namespace from the resource list and click to open it.

  4. Enter the project details for the Namespace.

  5. Click Review + create.

  6. The namespace is validated and the details are displayed.

  7. Click Create. The namespace is deployed.

Locate/Define Information Required to Create your Kafka SSL Account

Specify the values required to create a successful Kafka SSL account.

  1. Configure the Kafka SSL Account with the following details:

    • Bootstrap server: Copy the Host name from the Azure Event Hubs resource and suffix it with a colon and the standard port number 9093. For example, snaplogic-snapdev.servicebus.windows.net:9093

    • Security Protocol: SASL_SSL

    • SASL Mechanism: PLAIN

    • SASL Username or Key: $ConnectionString (not an expression)

    • SASL Password or Secret: Copy the Connection string-primary key from Shared access policies.

       

  2. Click Validate.

  3. Once the account is validated, click Apply.

 

Related Links:

Introduction to Apache Kafka in Event Hubs on Azure Cloud - Azure Event Hubs

Kafka Snap Pack

Kafka SSL Account