lucasbru opened a new pull request, #15275:
URL: https://github.com/apache/kafka/pull/15275

   Currently, the reconciliation logic on the client is triggered when a new 
target assignment is received and resolved, or when new unresolved target 
assignments are discovered in metadata.
   
   This change improves this by triggering the reconciliation logic on each 
poll iteration, to reconcile whatever is ready to be reconciled. This would 
require changes to support poll on the MembershipManager, and integrate it with 
the current polling logic in the background thread. Receiving a new target 
assignment from the broker, or resolving new topic names via a metadata update 
could only ensure that the #assignmentReadyToReconcile is properly updated 
(currently done), but wouldn't trigger the #reconcile() logic, leaving that to 
the #poll() operation.
   
   Stacked PR, do not review the first commit.
   
   Draft - still working out some details and some tests missing.
   
   ### Committer Checklist (excluded from commit message)
   - [ ] Verify design and implementation 
   - [ ] Verify test coverage and CI build status
   - [ ] Verify documentation (including upgrade notes)
   


-- 
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