Re: [PR] KAFKA-19955: Fix performance regression in server-side assignors [kafka]

2025-12-05 Thread via GitHub


ijuma commented on PR #21058:
URL: https://github.com/apache/kafka/pull/21058#issuecomment-3619024844

   > The server-side assignors are designed to re-use the previous assignment
   maps where possible and clone them for modification lazily.
   
   Looks like the mechanism we use to decide if a map should be cloned is 
brittle. Perhaps, it should be a more explicit mechanism.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



Re: [PR] KAFKA-19955: Fix performance regression in server-side assignors [kafka]

2025-12-03 Thread via GitHub


dajac commented on PR #21058:
URL: https://github.com/apache/kafka/pull/21058#issuecomment-3607049870

   Merged to trunk and 4.2.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



Re: [PR] KAFKA-19955: Fix performance regression in server-side assignors [kafka]

2025-12-03 Thread via GitHub


dajac merged PR #21058:
URL: https://github.com/apache/kafka/pull/21058


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



Re: [PR] KAFKA-19955: Fix performance regression in server-side assignors [kafka]

2025-12-03 Thread via GitHub


squah-confluent commented on PR #21058:
URL: https://github.com/apache/kafka/pull/21058#issuecomment-3607017104

   I'd rather keep these tests in a separate PR.
   Opened https://github.com/apache/kafka/pull/21068 and 
https://github.com/apache/kafka/pull/21069.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



Re: [PR] KAFKA-19955: Fix performance regression in server-side assignors [kafka]

2025-12-02 Thread via GitHub


dajac commented on PR #21058:
URL: https://github.com/apache/kafka/pull/21058#issuecomment-3605206180

   @squah-confluent I wonder whether we could add tests for all the assignors 
to ensure that they actually preserve input maps if there are no changes. It 
would be better to avoid any future regression. What do you think?


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



Re: [PR] KAFKA-19955: Fix performance regression in server-side assignors [kafka]

2025-12-02 Thread via GitHub


squah-confluent commented on code in PR #21058:
URL: https://github.com/apache/kafka/pull/21058#discussion_r2582190511


##
group-coordinator/src/main/java/org/apache/kafka/coordinator/group/modern/MemberAssignmentImpl.java:
##


Review Comment:
   Thanks for the review. I tried to expand the javadoc.



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



Re: [PR] KAFKA-19955: Fix performance regression in server-side assignors [kafka]

2025-12-02 Thread via GitHub


dajac commented on code in PR #21058:
URL: https://github.com/apache/kafka/pull/21058#discussion_r2582158113


##
group-coordinator/src/main/java/org/apache/kafka/coordinator/group/modern/MemberAssignmentImpl.java:
##


Review Comment:
   Let's expand the comment here too.



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]