Hello everyone, facing the following issue with Fl...
# troubleshooting
n
Hello everyone, facing the following issue with Flink Kafka Rack ID: In the following Kubernetes-based deployment of Flink and Kafka, partitions are uniformly distributed across Availability Zones (AZ) with corresponding replicas and Flink task managers. I have implemented
RackIdSupplier
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
.