You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just wrote an example for Zookeeper and it is so simple to do it. Not an expert but would love to hear more about challenges using Zookeeper in order to consider it a module. Maybe providing examples as a part of our documentation would be enough.
@eddumelendez WDYT about bringing your example into the Testcontainers examples (and have the link in our docs)? For me, this would then qualify as closing this issue.
Activity
rnorth commentedon May 30, 2019
Hi @lovepoem
The same as for #1515, I'm afraid: It's not been something that people have asked for.
If we don't have a module for something, then it is still possible for you to use it via the
GenericContainerclass.I'll leave the ticket open for a little while in case anyone wants to add upvotes or example code for how they've done it.
Richard
bsideup commentedon May 30, 2019
@rnorth @lovepoem since ZooKeeper is pretty popular tech, I see why we would want to add it, but before we do that, I would like to know:
Are there any difficulties with using ZooKeeper via the
GenericContainerclass?(like crazy port mappings or something)
lovepoem commentedon May 31, 2019
I think there are no difficulties (someone finshed it in https://github.com/gAmUssA/testcontainers-java-module-confluent-platform) , but if you have a complete ZooKeeper component ,a
testcontainersfreshman can use it immediatelyeddumelendez commentedon Oct 20, 2022
I just wrote an example for Zookeeper and it is so simple to do it. Not an expert but would love to hear more about challenges using Zookeeper in order to consider it a module. Maybe providing examples as a part of our documentation would be enough.
https://github.com/eddumelendez/testcontainers-samples/blob/main/spring-cloud-zookeeper/src/test/java/com/example/springcloudzookeeper/SpringCloudZookeeperApplicationTests.java#L23-L24
kiview commentedon Oct 21, 2022
@eddumelendez WDYT about bringing your example into the Testcontainers examples (and have the link in our docs)? For me, this would then qualify as closing this issue.
Add zookeeper example
Add zookeeper example (#6059)