-
-
Notifications
You must be signed in to change notification settings - Fork 288
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: Update docker image to Apache Pulsar 4.0 LTS #1294
base: develop
Are you sure you want to change the base?
Conversation
✅ Deploy Preview for testcontainers-dotnet ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
@@ -4,7 +4,7 @@ namespace Testcontainers.Pulsar; | |||
[PublicAPI] | |||
public sealed class PulsarBuilder : ContainerBuilder<PulsarBuilder, PulsarContainer, PulsarConfiguration> | |||
{ | |||
public const string PulsarImage = "apachepulsar/pulsar:3.0.6"; | |||
public const string PulsarImage = "apachepulsar/pulsar:4.0.0"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
public const string PulsarImage = "apachepulsar/pulsar:4.0.0"; | |
public const string PulsarImage = "apachepulsar/pulsar:3.0.6"; |
As mentioned in the issue, we don't update the image version unless it is absolutely necessary. We try to maintain backward compatibility.
@@ -87,6 +87,7 @@ protected override PulsarBuilder Init() | |||
.WithPortBinding(PulsarBrokerDataPort, true) | |||
.WithPortBinding(PulsarWebServicePort, true) | |||
.WithFunctionsWorker(false) | |||
.WithCreateParameterModifier(parameterModifier => parameterModifier.User = "root") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If this issue is just about permission changes, can't we store the key somewhere else? For example, SecretKeyFilePath = "/pulsar/data/.pulsar/secret.key"
should work. This makes the change in PulsarContainer
unnecessary too.
What does this PR do?
apply-config-from-env-with-prefix.py
causing 'standalone' cluster to disappear.Why is it important?
To use the latest version of Apache Pulsar 4.0 LTS to allow developers to take advantage of the new features by having a working testing environment.
Related issues