
io.quarkus.elasticsearch.restclient.common.deployment.ElasticsearchDevServicesBuildTimeConfig.jdp Maven / Gradle / Ivy
io.quarkus.elasticsearch.restclient.common.deployment.ElasticsearchDevServicesBuildTimeConfig.containerEnv=Environment variables that are passed to the container.
io.quarkus.elasticsearch.restclient.common.deployment.ElasticsearchDevServicesBuildTimeConfig.distribution=The Elasticsearch distribution to use.\n\nDefaults to a distribution inferred from the explicitly configured `image-name` (if any),\nor by default to the distribution configured in depending extensions (e.g. Hibernate Search),\nor by default to `elastic`.\n\n@asciidoclet
io.quarkus.elasticsearch.restclient.common.deployment.ElasticsearchDevServicesBuildTimeConfig.enabled=Whether this Dev Service should start with the application in dev mode or tests.\n\nDev Services are enabled by default\nunless connection configuration (e.g. `quarkus.elasticsearch.hosts`) is set explicitly.\n\n@asciidoclet
io.quarkus.elasticsearch.restclient.common.deployment.ElasticsearchDevServicesBuildTimeConfig.imageName=The Elasticsearch container image to use.\n\nDefaults depend on the configured `distribution`\:\n\n* For the `elastic` distribution\: {elasticsearch-image}\n* For the `opensearch` distribution\: {opensearch-image}\n\n@asciidoclet
io.quarkus.elasticsearch.restclient.common.deployment.ElasticsearchDevServicesBuildTimeConfig.javaOpts=The value for the ES_JAVA_OPTS env variable.\n\n@asciidoclet
io.quarkus.elasticsearch.restclient.common.deployment.ElasticsearchDevServicesBuildTimeConfig.port=Optional fixed port the dev service will listen to.\n\nIf not defined, the port will be chosen randomly.
io.quarkus.elasticsearch.restclient.common.deployment.ElasticsearchDevServicesBuildTimeConfig.reuse=Whether to keep Dev Service containers running *after a dev mode session or test suite execution*\nto reuse them in the next dev mode session or test suite execution.\n\nWithin a dev mode session or test suite execution,\nQuarkus will always reuse Dev Services as long as their configuration\n(username, password, environment, port bindings, ...) did not change.\nThis feature is specifically about keeping containers running\n**when Quarkus is not running** to reuse them across runs.\n\nWARNING\: This feature needs to be enabled explicitly in `testcontainers.properties`,\nmay require changes to how you configure data initialization in dev mode and tests,\nand may leave containers running indefinitely, forcing you to stop and remove them manually.\nSee xref\:elasticsearch-dev-services.adoc\#reuse[this section of the documentation] for more information.\n\nThis configuration property is set to `true` by default,\nso it is mostly useful to *disable* reuse,\nif you enabled it in `testcontainers.properties`\nbut only want to use it for some of your Quarkus applications.\n\n@asciidoclet
io.quarkus.elasticsearch.restclient.common.deployment.ElasticsearchDevServicesBuildTimeConfig.serviceName=The value of the {@code quarkus-dev-service-elasticsearch} label attached to the started container.\n
\nThis property is used when {@code shared} is set to {@code true}.\nIn this case, before starting a container, Dev Services for Elasticsearch looks for a container with the\n{@code quarkus-dev-service-elasticsearch} label\nset to the configured value. If found, it will use this container instead of starting a new one. Otherwise it\nstarts a new container with the {@code quarkus-dev-service-elasticsearch} label set to the specified value.\n
\nThis property is used when you need multiple shared Elasticsearch servers.
io.quarkus.elasticsearch.restclient.common.deployment.ElasticsearchDevServicesBuildTimeConfig.shared=Whether the Elasticsearch server managed by Quarkus Dev Services is shared.\n
\nWhen shared, Quarkus looks for running containers using label-based service discovery.\nIf a matching container is found, it is used, and so a second one is not started.\nOtherwise, Dev Services for Elasticsearch starts a new container.\n
\nThe discovery uses the {@code quarkus-dev-service-elasticsearch} label.\nThe value is configured using the {@code service-name} property.\n
\nContainer sharing is only used in dev mode.