You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "squah-confluent (via GitHub)" <gi...@apache.org> on 2026/03/12 06:54:49 UTC

[PR] KAFKA-20292 [1/N]: Handle membership changes during offloaded assignments [kafka]

squah-confluent opened a new pull request, #21728:
URL: https://github.com/apache/kafka/pull/21728

   When a member leaves a group, its target assignment is directly removed.
   When a static member is replaced, its target assignment is moved to the
   new member. These target assignment updates can happen while an
   offloaded assignment is being computed.
   
   When an offloaded assignment has finished, we must not emit records for
   members that have left the group and we must apply any static member
   replacements that occurred to the emitted records, to match the
   behavior when assignments are not offloaded. That is, we act as if the
   member removals and static member replacements are reordered after the
   assignment.
   
   We break up the assignment process into two parts: computing the target
   assignment map and generating the records. Only the former can run on
   the executor. To generate the records without removed members and with
   static member replacements applied we need to use the current state of
   the group.


-- 
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-unsubscribe@kafka.apache.org

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


Re: [PR] KAFKA-20292 [1/N]: Handle membership changes during offloaded assignments [kafka]

Posted by "squah-confluent (via GitHub)" <gi...@apache.org>.
squah-confluent closed pull request #21728: KAFKA-20292 [1/N]: Handle membership changes during offloaded assignments
URL: https://github.com/apache/kafka/pull/21728


-- 
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-unsubscribe@kafka.apache.org

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


Re: [PR] KAFKA-20292 [1/N]: Handle membership changes during offloaded assignments [kafka]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #21728:
URL: https://github.com/apache/kafka/pull/21728#issuecomment-4095279895

   A label of 'needs-attention' was automatically added to this PR in order to raise the
   attention of the committers. Once this issue has been triaged, the `triage` label
   should be removed to prevent this automation from happening again.


-- 
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-unsubscribe@kafka.apache.org

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


Re: [PR] KAFKA-20292 [1/N]: Handle membership changes during offloaded assignments [kafka]

Posted by "squah-confluent (via GitHub)" <gi...@apache.org>.
squah-confluent commented on PR #21728:
URL: https://github.com/apache/kafka/pull/21728#issuecomment-4632791229

   Based on discussions with @dajac, the new plan is to split the `TargetAssignmentBuilder`s into two parts. One part builds the target assignment and the other part builds the records. This will allow us to support client-side assignors in future, which will only want to use the record building capability.


-- 
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-unsubscribe@kafka.apache.org

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