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: Add pulsar module #1138

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from
Open

Conversation

smbecker
Copy link
Contributor

@smbecker smbecker commented Mar 6, 2024

What does this PR do?

Add support for starting Apache Pulsar containers.

Why is it important?

This is required to write tests that target Apache Pulsar.

How to test this PR

cd tests/Testcontainers.Pulsar.Tests
dotnet test

Copy link

netlify bot commented Mar 6, 2024

Deploy Preview for testcontainers-dotnet ready!

Name Link
🔨 Latest commit 9bc7bb6
🔍 Latest deploy log https://app.netlify.com/sites/testcontainers-dotnet/deploys/65f0560444402c0008e66a00
😎 Deploy Preview https://deploy-preview-1138--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.

@HofmeisterAn HofmeisterAn added enhancement New feature or request module An official Testcontainers module labels Mar 11, 2024
@entvex
Copy link

entvex commented Mar 18, 2024

I believe this pull request is a duplicate. I’ve already submitted a pull request that adds Pulsar support. You can find it here: PR #1103.

var content = await response.Content.ReadAsStringAsync()
.ConfigureAwait(false);

return "[\"standalone\"]".Equals(content, StringComparison.OrdinalIgnoreCase);
Copy link
Member

Choose a reason for hiding this comment

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

if PULSAR_PREFIX_clusterName env var is set then the wait strategy will fail. It should check the env var's value first.

Copy link
Collaborator

Choose a reason for hiding this comment

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

As @entvex mentioned, there is already an open PR. We should focus on one implementation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request module An official Testcontainers module
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants