Interface IdBasedBrokerRewriteRuleOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
IdBasedBrokerRewriteRule,IdBasedBrokerRewriteRule.Builder
public interface IdBasedBrokerRewriteRuleOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetHost()The host value to use (resembling the host part of Kafka's advertised.listeners).com.google.protobuf.ByteStringThe host value to use (resembling the host part of Kafka's advertised.listeners).intgetId()Broker ID to match.intgetPort()The port value to use (resembling the port part of Kafka's advertised.listeners).Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getId
int getId()Broker ID to match.
uint32 id = 1 [(.validate.rules) = { ... }- Returns:
- The id.
-
getHost
String getHost()The host value to use (resembling the host part of Kafka's advertised.listeners). The value should point to the Envoy (not Kafka) listener, so that all client traffic goes through Envoy.
string host = 2 [(.validate.rules) = { ... }- Returns:
- The host.
-
getHostBytes
com.google.protobuf.ByteString getHostBytes()The host value to use (resembling the host part of Kafka's advertised.listeners). The value should point to the Envoy (not Kafka) listener, so that all client traffic goes through Envoy.
string host = 2 [(.validate.rules) = { ... }- Returns:
- The bytes for host.
-
getPort
int getPort()The port value to use (resembling the port part of Kafka's advertised.listeners). The value should point to the Envoy (not Kafka) listener, so that all client traffic goes through Envoy.
uint32 port = 3 [(.validate.rules) = { ... }- Returns:
- The port.
-