All Downloads are FREE. Search and download functionalities are using the official Maven repository.

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();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy