Skip to content

Latest commit

 

History

History
32 lines (24 loc) · 711 Bytes

File metadata and controls

32 lines (24 loc) · 711 Bytes

embedded-pulsar

Maven dependency

pom.xml
<dependency>
    <groupId>com.playtika.testcontainers</groupId>
    <artifactId>embedded-pulsar</artifactId>
    <scope>test</scope>
</dependency>

Consumes (via bootstrap.properties)

  • embedded.pulsar.enabled (true|false, default is true)

  • embedded.pulsar.imageTag (default is '2.8.0')

Produces

  • embedded.pulsar.brokerUrl

  • embedded.pulsar.httpServiceUrl

Example

PulsarClient pulsarClient = PulsarClient.builder()
        .serviceUrl(environment.getProperty("embedded.pulsar.brokerUrl"))
        .build();