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

io.quarkus.grpc.runtime.config.GrpcServerBuildTimeConfig Maven / Gradle / Ivy

There is a newer version: 3.15.1
Show newest version
package io.quarkus.grpc.runtime.config;

import io.quarkus.runtime.annotations.ConfigItem;
import io.quarkus.runtime.annotations.ConfigPhase;
import io.quarkus.runtime.annotations.ConfigRoot;

@ConfigRoot(phase = ConfigPhase.BUILD_TIME, name = "grpc.server")
public class GrpcServerBuildTimeConfig {
    /**
     * Whether a health check on gRPC status is published in case the smallrye-health extension is present.
     */
    @ConfigItem(name = "health.enabled", defaultValue = "true")
    public boolean mpHealthEnabled;

    /**
     * Whether the gRPC health check is exposed.
     */
    @ConfigItem(name = "grpc-health.enabled", defaultValue = "true")
    public boolean grpcHealthEnabled;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy