Github user StephanEwen commented on the issue:

    https://github.com/apache/flink/pull/4321
  
    I think this pull request will make the Kafka consumer go into a hot busy 
waiting loop when it has no partitions assigned.
    
    I would suggest to do a blocking `take()` or so on the 
`unassignedPartitionsQueue`.
    
    Also, would be great to get around the instance variable, and simply check 
how many partitions are assigned on the KafkaConsumer, or pass this via a 
return value of the `reassignPartitions()` function.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to