Kafka supports rack awareness, see https://kafka.apache.org/39/documentation.html#basic_ops_racks. The operator should support it as well.