You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by GitBox <gi...@apache.org> on 2018/11/14 05:43:31 UTC

[GitHub] hate13 opened a new pull request #6623: Fetch offsets optimize

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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org