[
https://issues.apache.org/jira/browse/KAFKA-21672?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ziyun Fu reassigned KAFKA-21672:
--------------------------------
Assignee: Ziyun Fu
> Allow customized streams group assignors to override built-in assignor names
> -----------------------------------------------------------------------------
>
> Key: KAFKA-21672
> URL: https://issues.apache.org/jira/browse/KAFKA-21672
> Project: Kafka
> Issue Type: Bug
> Reporter: Ziyun Fu
> Assignee: Ziyun Fu
> Priority: Major
>
> {{group.streams.assignors}} rejects a custom {{TaskAssignor}} whose
> {{name()}} is the name of a built-in assignor (e.g. {{{}sticky{}}}). The
> broker fails to start with "Assignor name 'sticky' is reserved by a built-in
> assignor".
>
>
> KAFKA-20843 removed the same check for {{{}group.consumer.assignors{}}}, so
> that an operator can replace a built-in assignor with their own
> implementation under the same name, without any change on the group side. The
> two configs should behave the same way.
> Proposed change in {{{}GroupCoordinatorConfig#streamsGroupAssignors{}}}:
>
> * Remove the reserved-name check. A custom assignor that is configured by
> its class name may use the name of a built-in assignor, and it is then the
> assignor used for that name.
>
> * Keep the duplicate-name check. Two configured assignors that resolve to
> the same name (e.g. {{sticky,com.example.MySticky}} where {{MySticky}} is
> named {{{}sticky{}}}) still fail at startup.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)