There's a definite desire to separate the controller and normal traffic. That's
evident in the comment linked below. I don't know the exact reasons why this is
desired behavior.
Also, I misspoke earlier. It's not just the logging. They want to separate the
controller and normal traffic into dif
i have one doubt in ur answer: why should we differentiate the kafka logs
trafiic from controller node with the normal trafiic from the same node??
On Sat, Oct 21, 2017 at 1:52 AM, Eric Azama wrote:
> Kafka logs traffic to the Controller node separately from the normal
> traffic to the node. In
Kafka logs traffic to the Controller node separately from the normal
traffic to the node. In order to differentiate it subtracts the broker id
from 2147483647 (max int) and uses the result as the "node id" for the
controller.
On a related note, logs and metrics related to the bootstrap process see
Here is related code:
log.debug("Using older server API v{} to send {} {} with
correlation id {} to node {}",
header.apiVersion(), clientRequest.apiKey(),
request, clientRequest.correlationId(), nodeId);
2147483647 is the node Id.
On Fri, Oct 20, 2017 at 2: