Skip to content

Add client.rack configuration option to support consumer fetching from closest replica (KIP-392) #1016

@trentbitterman

Description

@trentbitterman

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.

Additional context

More information can be found in KIP-392.
This configuration value is supported by librdkafka and confluent-kafka-python, for example.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions