You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "m1a2st (via GitHub)" <gi...@apache.org> on 2026/09/11 14:23:10 UTC

[PR] KAFKA-20843: Custom consumer group assignors may silently use duplica… [kafka]

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

   backport to 4.3
   
   Fixed an issue where group.consumer.assignors did not check for assignor
   name collisions. Previously, configuring duplicate assignors (such as
   using both a short name and a fully qualified class name) or using a
   custom assignor with a built-in name passed startup validation, but
   caused runtime crashes later during group coordinator loading.
   
   Key Changes:
   
   Added broker-side duplicate name validation that throws ConfigException
   at startup if two entries resolve to the same name.
   
   Prevented custom assignors from reusing reserved built-in names (e.g.,
   uniform, range).
   
   Preserved support for configuring built-in assignors via their fully
   qualified class names.
   
   Added corresponding unit tests in GroupCoordinatorConfigTest and
   verified existing integration tests.


-- 
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-20843: Custom consumer group assignors may silently use duplica… [kafka]

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

   You're right. Since this fix introduces a behavior change, I won't cherry-pick it to 4.3.
   


-- 
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-20843: Custom consumer group assignors may silently use duplica… [kafka]

Posted by "m1a2st (via GitHub)" <gi...@apache.org>.
m1a2st closed pull request #23433: KAFKA-20843: Custom consumer group assignors may silently use duplica…
URL: https://github.com/apache/kafka/pull/23433


-- 
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-20843: Custom consumer group assignors may silently use duplica… [kafka]

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

   @m1a2st please take a look at https://github.com/apache/kafka/pull/22982#discussion_r3992202754 
   
   I'm not convinced that a patch version should include this behaviour change to fix a low-risk issue. WDYT?


-- 
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-20843: Custom consumer group assignors may silently use duplica… [kafka]

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

   @m1a2st would you please reference the original PR in the PR description?


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