testcontainers / testcontainers/testcontainers-python
Feature: Implement Azure Event Hubs
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 2.3k
- Forks
- 386
- Avg merge
- 4h 40m
- Merged PRs (30d)
- 1
Description
What are you trying to do?
Since the 11th of June, it is possible to emulate azure eventhubs. The intention of this enhancement is to implement an Azure Event Hubs test container to facilitate local development and testing of applications that interact with Azure Event Hubs. This allows developers to simulate the behavior of Azure Event Hubs without needing access to the actual cloud service, thereby improving development efficiency and reducing costs.
Why should it be done this way?
Benefits of a feature as such, are comparable to the other testcontainer modules;
- Cost Efficiency
- Developers can test their applications locally without incurring costs associated with using the actual Azure Event Hubs service.
- Isolation & Consistancy
- It allows for isolated and consistent testing environments
- Offline development
- Enables development and testing in environments without internet access
Beside the benefits, it is not that trivial to set it up with the generic containers as it needs some dependencies like a checkpoint storage in the form of an Azurite container.
Other references:
See:
- An overview of the newly implemented azure eventhub emulator
- An explaination on how to facilitate the emulator on your local machine
- An example for python
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading the linked Azure Event Hubs emulator overview and Docker setup, then compare the repository's existing test container modules. Determine how the emulator and its required Azurite checkpoint storage should be started together, and use the linked Python example to define the integration's expected behavior. Done means a usable Azure Event Hubs test container with local development and testing support.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure, docker, python
- Domain
- cloud, devtools, testing
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100