Class ApicurioRegistryDevServicesBuildTimeConfig


  • @ConfigRoot(name="apicurio-registry.devservices",
                phase=BUILD_TIME)
    public class ApicurioRegistryDevServicesBuildTimeConfig
    extends Object
    • Field Detail

      • enabled

        @ConfigItem
        public Optional<Boolean> enabled
        If Dev Services for Apicurio Registry has been explicitly enabled or disabled. Dev Services are generally enabled by default, unless there is an existing configuration present. For Apicurio Registry, Dev Services starts a registry unless mp.messaging.connector.smallrye-kafka.apicurio.registry.url is set.
      • port

        @ConfigItem
        public Optional<Integer> port
        Optional fixed port the dev service will listen to.

        If not defined, the port will be chosen randomly.

      • imageName

        @ConfigItem(defaultValue="apicurio/apicurio-registry-mem:2.0.1.Final")
        public String imageName
        The Apicurio Registry image to use. Note that only Apicurio Registry 2.x images are supported.
      • shared

        @ConfigItem(defaultValue="true")
        public boolean shared
        Indicates if the Apicurio Registry instance managed by Quarkus Dev Services is shared. When shared, Quarkus looks for running containers using label-based service discovery. If a matching container is found, it is used, and so a second one is not started. Otherwise, Dev Services for Apicurio Registry starts a new container.

        The discovery uses the quarkus-dev-service-apicurio-registry label. The value is configured using the service-name property.

        Container sharing is only used in dev mode.

      • serviceName

        @ConfigItem(defaultValue="apicurio-registry")
        public String serviceName
        The value of the quarkus-dev-service-apicurio-registry label attached to the started container. This property is used when shared is set to true. In this case, before starting a container, Dev Services for Apicurio Registry looks for a container with the quarkus-dev-service-apicurio-registry label 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 the quarkus-dev-service-apicurio-registry label set to the specified value.

        This property is used when you need multiple shared Apicurio Registry instances.

    • Constructor Detail

      • ApicurioRegistryDevServicesBuildTimeConfig

        public ApicurioRegistryDevServicesBuildTimeConfig()