public class ConsulGrpcRegistrationCustomizer extends Object implements org.springframework.cloud.consul.serviceregistry.ConsulRegistrationCustomizer
Constructor and Description |
---|
ConsulGrpcRegistrationCustomizer(GrpcServerProperties grpcServerProperties)
Creates a new ConsulGrpcRegistrationCustomizer which will read the grpc server port from the given
GrpcServerProperties . |
Modifier and Type | Method and Description |
---|---|
void |
customize(org.springframework.cloud.consul.serviceregistry.ConsulRegistration registration) |
public ConsulGrpcRegistrationCustomizer(GrpcServerProperties grpcServerProperties)
GrpcServerProperties
.grpcServerProperties
- The properties to get the server port from.