Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Azure Event Hubs Emulator container to Azure module #9665

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

nagyesta
Copy link
Contributor

@nagyesta nagyesta commented Dec 23, 2024

  • Add Azure Event Hubs Emulator container
  • Implement new test case
  • Update Azure documentation

Must be merged after: #9661
Relates to: #9607 (comment)

@nagyesta nagyesta force-pushed the feature/add-azure-eventhubs-container branch 2 times, most recently from 41ee74d to 4c40dfd Compare December 24, 2024 20:58
@nagyesta nagyesta force-pushed the feature/add-azure-eventhubs-container branch 5 times, most recently from 148c7fc to 8c821d8 Compare January 9, 2025 20:49
@nagyesta nagyesta marked this pull request as ready for review January 9, 2025 20:49
@nagyesta nagyesta requested a review from a team as a code owner January 9, 2025 20:49
- Add Azure Eventhubs Emulator container
- Implement new test case
- Update Azure documentation

Signed-off-by: Esta Nagy <[email protected]>
@nagyesta nagyesta force-pushed the feature/add-azure-eventhubs-container branch from 8c821d8 to fa3e337 Compare January 9, 2025 20:51
@eddumelendez eddumelendez added this to the next milestone Jan 9, 2025
* @param config The file containing the broker configuration
* @return this
*/
public AzureEventhubsEmulatorContainer withConfig(final MountableFile config) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
public AzureEventhubsEmulatorContainer withConfig(final MountableFile config) {
public AzureEventhubsEmulatorContainer withConfig(final Transferable config) {

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should I update the Azurite config too similarly? It feels wrong to use two different approaches...

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Using transferable for the config file makes sense because the json file can be built programmatically. I do not expect the same for the certificates. WDYT?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To be honest I don't see the big difference but this might be just because I am not that familiar with these two types and the exact intent behind them (hopefully I will learn now).
We can generate (or download from a secure place) a Java KeyStore without ever writing it to file, also if you want to generate a configuration json, it is a small step to write it to a temp file and then simply create a MountableFile with it. Or is the difference more nuanced?

- Fix license acceptance
- Use Transferable
- Remove unnecessary code from tests

Signed-off-by: Esta Nagy <[email protected]>
- Fix Typo in the container's name
- Require AzuriteContainer as dependency
- Add Kafka Event Hubs test
- Add Kafka option to Azure documentation

Signed-off-by: Esta Nagy <[email protected]>
- Fix test method name

Signed-off-by: Esta Nagy <[email protected]>
@nagyesta nagyesta changed the title Add Azure Eventhubs Emulator container to Azure module Add Azure Event Hubs Emulator container to Azure module Jan 10, 2025
@nagyesta nagyesta requested a review from eddumelendez January 10, 2025 21:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants