Annotation Interface ClusterConfigProperty
-
Required Element Summary
Required Elements -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionintThe config applies to the controller/broker with specified id.
-
Element Details
-
id
int idThe config applies to the controller/broker with specified id. Default is -1, indicating the property applied to all controller/broker servers. Note that the "controller" here refers to the KRaft quorum controller. The id can vary depending on the differentType.- Under
Type.KRAFT, the broker id starts from0, the controller id starts from3000and increases by 1 with each addition broker/controller. - Under
Type.CO_KRAFT, the broker id and controller id both start from0and increases by 1 with each additional broker/controller.
- Returns:
- the controller/broker id
- Default:
-1
- Under
-
key
String key -
value
String value
-