Skip to content

Commit 2ca172b

Browse files
committed
add quotes to clarify code docs
1 parent 39ca68a commit 2ca172b

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

  • rust/operator-binary/src/crd/role

rust/operator-binary/src/crd/role/mod.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,11 @@ pub const KAFKA_LOG_DIRS: &str = "log.dirs";
4949
pub const KAFKA_LISTENERS: &str = "listeners";
5050

5151
/// Specifies the listener addresses that the Kafka brokers will advertise to clients and other brokers.
52-
/// The config is useful where the actual listener configuration listeners does not represent the addresses that clients should use to connect,
52+
/// The config is useful where the actual listener configuration 'listeners' does not represent the addresses that clients should use to connect,
5353
/// such as in cloud environments. The addresses are published to and managed by the controller, the brokers pull these data from the controller as needed.
54-
/// In IaaS environments, this may need to be different from the interface to which the broker binds. If this is not set, the value for listeners will be used.
55-
/// Unlike listeners, it is not valid to advertise the 0.0.0.0 meta-address.
56-
/// Also unlike listeners, there can be duplicated ports in this property, so that one listener can be configured to advertise another listener's address.
54+
/// In IaaS environments, this may need to be different from the interface to which the broker binds. If this is not set, the value for 'listeners' will be used.
55+
/// Unlike 'listeners', it is not valid to advertise the 0.0.0.0 meta-address.
56+
/// Also unlike 'listeners', there can be duplicated ports in this property, so that one listener can be configured to advertise another listener's address.
5757
/// This can be useful in some cases where external load balancers are used.
5858
pub const KAFKA_ADVERTISED_LISTENERS: &str = "advertised.listeners";
5959

0 commit comments

Comments
 (0)