Skip to content

Commit

Permalink
MINOR: Fix inter.broker docs description (apache#17509)
Browse files Browse the repository at this point in the history
Fix sentence break errors in the inter.broker description.

Reviewers: Luke Chen <showuon@gmail.com>, TengYao Chi <kitingiao@gmail.com>
  • Loading branch information
Yunyung authored Oct 16, 2024
1 parent 078760a commit ff5ef83
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ public class ReplicationConfigs {
public static final String INTER_BROKER_PROTOCOL_VERSION_CONFIG = "inter.broker.protocol.version";
public static final String INTER_BROKER_PROTOCOL_VERSION_DEFAULT = MetadataVersion.latestProduction().version();
public static final String INTER_BROKER_PROTOCOL_VERSION_DOC = "Specify which version of the inter-broker protocol will be used.\n" +
". This is typically bumped after all brokers were upgraded to a new version.\n" +
"This is typically bumped after all brokers were upgraded to a new version.\n" +
" Example of some valid values are: 0.8.0, 0.8.1, 0.8.1.1, 0.8.2, 0.8.2.0, 0.8.2.1, 0.9.0.0, 0.9.0.1 Check MetadataVersion for the full list.\n" +
"This configuration is only applicable in Zookeeper mode.";

Expand All @@ -141,7 +141,7 @@ public class ReplicationConfigs {
String.join(", ", SecurityProtocol.names()) + ". It is an error to set this and " + INTER_BROKER_LISTENER_NAME_CONFIG +
" properties at the same time.";
public static final String INTER_BROKER_LISTENER_NAME_DOC = "Name of listener used for communication between brokers. If this is unset, the listener name is defined by " + INTER_BROKER_SECURITY_PROTOCOL_CONFIG +
"It is an error to set this and " + INTER_BROKER_SECURITY_PROTOCOL_CONFIG + " properties at the same time.";
". It is an error to set this and " + INTER_BROKER_SECURITY_PROTOCOL_CONFIG + " properties at the same time.";

public static final String REPLICA_SELECTOR_CLASS_CONFIG = "replica.selector.class";
public static final String REPLICA_SELECTOR_CLASS_DOC = "The fully qualified class name that implements ReplicaSelector. This is used by the broker to find the preferred read replica. By default, we use an implementation that returns the leader.";
Expand Down

0 comments on commit ff5ef83

Please sign in to comment.