io.quarkus.grpc.runtime.config.InProcess 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.ConfigGroup;
import io.quarkus.runtime.annotations.ConfigItem;
import io.quarkus.runtime.annotations.IgnoreProperty;
/**
* In-process config
* * in-process usage
*/
@ConfigGroup
public class InProcess implements Enabled {
@Override
@IgnoreProperty
public boolean isEnabled() {
return enabled;
}
/**
* Explicitly enable use of in-process.
*/
@ConfigItem(defaultValue = "false")
public boolean enabled;
/**
* Set in-process name.
*/
@ConfigItem(defaultValue = "quarkus-grpc")
public String name;
}