Interface PulsarDevServicesBuildTimeConfig
public interface PulsarDevServicesBuildTimeConfig
-
Method Summary
Modifier and TypeMethodDescriptionBroker config to set on the Pulsar instanceenabled()If Dev Services for Pulsar has been explicitly enabled or disabled.The image to use.port()Optional fixed port the dev service will listen to.The value of thequarkus-dev-service-pulsarlabel attached to the started container.booleanshared()Indicates if the Pulsar broker managed by Quarkus Dev Services is shared.
-
Method Details
-
enabled
If Dev Services for Pulsar has been explicitly enabled or disabled. Dev Services are generally enabled by default, unless there is an existing configuration present. For Pulsar, Dev Services starts a broker unlesspulsar.client.serviceUrlis set or if all the Reactive Messaging Pulsar channel are configured withserviceUrl. -
port
Optional fixed port the dev service will listen to.If not defined, the port will be chosen randomly.
-
imageName
The image to use. Note that only Apache Pulsar images are supported. Specifically, the image repository must end withapachepulsar/pulsar. Check https://hub.docker.com/r/apachepulsar/pulsar to find the available versions. -
serviceName
The value of thequarkus-dev-service-pulsarlabel attached to the started container. This property is used whensharedis set totrue. In this case, before starting a container, Dev Services for Pulsar looks for a container with thequarkus-dev-service-pulsarlabel set to the configured value. If found, it will use this container instead of starting a new one. Otherwise, it starts a new container with thequarkus-dev-service-pulsarlabel set to the specified value.This property is used when you need multiple shared Pulsar brokers.
-
brokerConfig
Broker config to set on the Pulsar instance
-