Blog Post

Messaging on Azure Blog
2 MIN READ

Introducing Kafka Support in Event Hubs emulator

Sannidhya_Glodha's avatar
Nov 19, 2024

Azure Event Hubs has introduced support for the Apache Kafka® protocol in its local emulator, enhancing development and testing efficiency. Take advantage of seamless Kafka integration and elevate your testing workflows with the latest emulator features.

Azure Event Hubs is a cloud-native data streaming service that streams millions of events per second with low latency, from any source to any destination. Compatible with Apache Kafka®, it allows you to run existing Kafka workloads without code changes. 

Earlier this year, we released the Event Hubs emulator for local development, which initially only supported AMQP protocol. We are now excited to announce Apache Kafka® protocol support in the Event Hubs emulator.

Why emulator?

Developers across the globe love emulators!  While there are numerous compelling reasons to use emulators, here are just a few of those reasons to consider:

  • Optimized Development Loop: The emulator speeds up dev/testing against Azure Event Hubs.
  • Pre-migration Trial: Try Azure Event Hubs for Apache Kafka® using your existing Kafka applications before migrating to the cloud.
  • Isolated Environment: Use the emulator for dev/test setup without network latency or cloud resource constraints.
  • Cost-efficient: The emulator is free and can be run on your local machine for dev/testing.
Note: The emulator is intended only for development and testing. It should not be used for production workloads. Official support is not provided, and any issues or suggestions should be reported via GitHub.

Kickstart development with Event Hubs emulator

The emulator is available as a Docker image on Microsoft Artifact Registry  and is platform-agnostic – it can run on Windows, macOS, and Linux. You can either use our automated scripts from the Installer repository or spin up the emulator container using the docker compose command.

The producer and consumer APIs are currently compatible with the emulator. Additional API support will be provided in future incremental versions.

To test Apache Kafka® applications locally with the Event Hubs emulator, visit aka.ms/devtestwithehemulator.

Learn more about Event Hubs:

Azure Event Hubs: Data streaming platform with Kafka support - Azure Event Hubs | Microsoft Learn

Introduction to Apache Kafka® in Event Hubs on Azure Cloud - Azure Event Hubs | Microsoft Learn

 

We appreciate your feedback and encourage you to share it with us. Please provide feedback or report any issues at our GitHub repository: Issues · Azure/azure-event-hubs-emulator-installer

 

May the Event Hubs emulator light up your test cases in green! 😊

 

 

 

 

 

 

 

 

 

 

 

 

Updated Nov 19, 2024
Version 1.0
No CommentsBe the first to comment