Apache Pulsar Module
Testcontainers can be used to automatically create Apache Pulsar containers without external services.
It's based on the official Apache Pulsar docker image, it is recommended to read the official guide.
Example
Create a PulsarContainer to use it in your tests:
PulsarContainer pulsar = new PulsarContainer("apachepulsar/pulsar:3.0.0");
Then you can retrieve the broker and the admin url: