io.quarkiverse.temporal.config.ConnectionRuntimeConfig Maven / Gradle / Ivy
package io.quarkiverse.temporal.config;
import io.grpc.ManagedChannelBuilder;
import io.grpc.NameResolver;
import io.quarkus.runtime.annotations.ConfigGroup;
import io.smallrye.config.WithDefault;
@ConfigGroup
public interface ConnectionRuntimeConfig {
/**
* Sets a target string, which can be either a valid {@link NameResolver}-compliant URI, or an
* authority string. See {@link ManagedChannelBuilder#forTarget(String)} for more information
* about parameter format. Default is 127.0.0.1:7233
*/
@WithDefault("127.0.0.1:7233")
String target();
/**
* Sets option to enable SSL/ TLS/ HTTPS for gRPC.
*/
@WithDefault("false")
Boolean enableHttps();
/**
* Rpc Retry Options.
*/
RpcRetryRuntimeConfig rpcRetry();
/**
* mTLS Options.
*/
MTLSRuntimeConfig mtls();
}