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

feat(kafka): Add network support for Kafka container #1316

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

SebastienDegodez
Copy link

What does this PR do?

This PR adds the functionality to support network within a Docker container.

Why is it important?

Network isolation is crucial for testing in an environment that closely mimics production. It ensures that the containers can communicate within a controlled network, similar to how they would in a real-world scenario.

Related issues

How to test this PR

  1. Build and start the Kafka and kcat containers.
  2. Execute the test cases in KafkaContainerNetworkTest to verify message production and consumption.
  3. Check the logs to ensure the message "Message produced by kcat" is correctly produced and consumed.

Follow-ups

  • Consider adding the same functionality for the redpanda module.

Copy link

netlify bot commented Dec 15, 2024

Deploy Preview for testcontainers-dotnet ready!

Name Link
🔨 Latest commit 0e7bb9d
🔍 Latest deploy log https://app.netlify.com/sites/testcontainers-dotnet/deploys/675f22343fb23e0008232d38
😎 Deploy Preview https://deploy-preview-1316--testcontainers-dotnet.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@SebastienDegodez
Copy link
Author

I have some problems to run cake on my computer. If you can do some checks before continue (or if you have documentation to contribute on macos).

Copy link
Collaborator

@HofmeisterAn HofmeisterAn left a comment

Choose a reason for hiding this comment

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

Ignore this. I was in the wrong tab - sorry.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants