hate13 opened a new pull request #6623: Fetch offsets optimize
URL: https://github.com/apache/incubator-druid/pull/6623
 
 
   Recently we encountered a problem. When there are too many partitions in 
kafka topic, loading end offsets of all the partitions is very slow. In this 
process, the report thread may hold the consumer lock for a long time, which 
cause the schedule thread task to hang, and no new task could be created.
   
   To solve this, We  replaced `foreach + consumer#position` with 
`consumer#endOffsets`.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to