原来kafka的broker.id = -1是合法值,即broker.id 取值范围是大于等于-1

kafka的broker.id = -1,即broker.id 取值范围是大于等于-1;

broker.id = -2的机器上broker启动失败的日志提醒如下

java.lang.IllegalArgumentException: requirement failed: broker.id must be equal or greater than -1 and not greater than reserved.broker.max. id

你可能感兴趣的:(大数据和云计算,大数据,kafka)