Enabling Rack Awareness

You can set the ZONE environment variable to your zone. This setting affects aspects of the LogScale cluster such as storage replication, but is also used as the client rack for the ingest-queue and transient-chatter consumers. The global topic is very low traffic and is also very latency sensitive, so it does not support rack awareness.

If you prefer the client rack setting to be different from the ZONE setting for some reason, you can override it by setting the environment variable KAFKA_CLIENT_RACK to your zone.

For example, if in your Kafka broker configuration broker.rack=rack5, then you can set either ZONE=rack5 or KAFKA_CLIENT_RACK=rack5 for the nodes in that rack, and the consumers will start fetching from brokers that have that value in their broker.rack setting.