philipnee commented on PR #14680:
URL: https://github.com/apache/kafka/pull/14680#issuecomment-1810775229

   Hi @lucasbru - Yes. It is not quite feasible to use the backgroundEventQueue 
because of the behavior of the current API, i.e., the callback needs to be 
invoked ouside of the poll call.  If we use the backgroundEventQueue, then the 
operation can become quite complicated, i.e. we will need to scan through the 
queue, execute the callback, and remove the callback from the queue.  @kirktrue 
- mind comment here?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: jira-unsubscr...@kafka.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to