Package org.apache.kafka.common.test.api
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 from, the controller id starts frominvalid reference
0and increases by 1 with each addition broker/controller.invalid reference
3000 - Under
Type.CO_KRAFT, the broker id and controller id both start fromand increases by 1 with each additional broker/controller.invalid reference
0
- Returns:
- the controller/broker id
- Default:
-1
- Under
-
key
String key -
value
String value
-