testcontainers / testcontainers/testcontainers-python

Feature: Implement Azure Event Hubs

Offen
#713 2 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

🤝 contributions are welcome 🚀 enhancement
Vorherrschende Sprache
Python
Sterne
2.3k
Forks
386
Ø Merge
4 Std. 40 Min.
Gemergte PRs (30 T.)
1

Beschreibung

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;

  1. Cost Efficiency
    • Developers can test their applications locally without incurring costs associated with using the actual Azure Event Hubs service.
  2. Isolation & Consistancy
    • It allows for isolated and consistent testing environments
  3. 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

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Rechercherichtung

Beginne damit, die verlinkte Übersicht zum Azure Event Hubs-Emulator und das Docker-Setup zu lesen, und vergleiche anschließend die bereits vorhandenen Testcontainer-Module des Repositorys. Ermittle, wie der Emulator und sein erforderlicher Azurite-Checkpoint-Speicher gemeinsam gestartet werden sollen, und verwende das verlinkte Python-Beispiel, um das erwartete Verhalten der Integration festzulegen. Erledigt ist die Aufgabe, wenn ein nutzbarer Azure Event Hubs-Testcontainer mit Unterstützung für lokale Entwicklung und Tests vorhanden ist.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
azure, docker, python
Bereich
cloud, devtools, testing
Issue-Typ
Feature
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
35/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.