Guides
R24 AMR | Min(s) read

Verifying Kafka Topics Using Offset Explorer

Kafka tool (currently known as Offset explorer) can be used to connect to Azure event hub to view data that are streamed.

Click Download to download the Kafka tool.

Perform the following steps to connect to the event hub using offset explorer.

  1. Launch offset explorer and right-click Cluster to a add new connection.
  2. Enter the necessary details in the Properties tab under Add Cluster dialog box.

  3. Click Security tab and select Broker type as SASL_SSL.
  4. Click the Advanced tab to enter the event hub namespace value in the Bootstrap server and SASL mechanism as PLAIN.

  5. Click JAAS Config tab and enter the value below.
    org.apache.kafka.common.security.plain.PlainLoginModule required username="$ConnectionString" password="Endpoint=sb://eventhubnamespacename.windows.net/;SharedAccessKeyName=RootManageSharedAccessKey;SharedAccessKey=SSHKEY";

    Replace the eventhubnamespace with the exact namespace and SSHKey with SSH primary key from the event hub shared access policy.

  6. Click Test to test the connection and then click Add.

  7. Expand the Cluster and click Topics to add the necessary details in the Property tab.

  8. Go to Data tab and click to view the data.

  9. Click to view the individual data.

The Kafka topics are verified successfully using offset explorer.

Copyright © 2020- Temenos Headquarters SA

Published on :
Thursday, May 30, 2024 11:58:53 AM IST