io.quarkus.grpc.runtime.config.GrpcServerBuildTimeConfig Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of quarkus-grpc Show documentation
Show all versions of quarkus-grpc Show documentation
Serve and consume gRPC services
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;
}