Nidhi Jain
12/27/2024, 6:55 AMRackIdSupplier in the Flink task managers, and its functionality is being logged and verified successfully. However, the assignment of Kafka partitions to Flink task managers does not consistently align with the AZ of the task managers.
Observed Inconsistency:
• Task Manager 1 (eu-west-1c): Assigned partitions from AZs eu-west-1a and eu-west-1c
• Task Manager 2 (eu-west-1c): Assigned partitions from AZs eu-west-1b and eu-west-1c
• Task Manager 3 (eu-west-1b): Assigned partitions from AZs eu-west-1c and eu-west-1a
• .....
Deployment Details:
• Kafka: 6 brokers
• Flink: 12 task managers, each with 2 task slots, resulting in a total parallelism of 24
The inconsistencies were identified through custom logging and by reviewing Kafka internal logs, specifically from org.apache.kafka.clients.consumer.internals.SubscriptionState.