Open trentbitterman opened 1 week ago
Describe the solution you'd like
Currently, the AIOKafkaConsumer class has no way to set the client.rack consumer config supported by other clients. Adding and implementing this option would allow consumers to fetch from the nearest replica.
AIOKafkaConsumer
client.rack
Additional context
More information can be found in KIP-392. This configuration value is supported by librdkafka and confluent-kafka-python, for example.
Describe the solution you'd like
Currently, the
AIOKafkaConsumer
class has no way to set theclient.rack
consumer config supported by other clients. Adding and implementing this option would allow consumers to fetch from the nearest replica.Additional context
More information can be found in KIP-392. This configuration value is supported by librdkafka and confluent-kafka-python, for example.