[jira] [Commented] (KAFKA-10182) Change number of partitions of __consumer_offsets

2020-06-24 Thread huxihx (Jira)


[ 
https://issues.apache.org/jira/browse/KAFKA-10182?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17143807#comment-17143807
 ] 

huxihx commented on KAFKA-10182:


[~simpleBread] Did you have any chances to see if createPartitions API works?

> Change number of partitions of __consumer_offsets 
> --
>
> Key: KAFKA-10182
> URL: https://issues.apache.org/jira/browse/KAFKA-10182
> Project: Kafka
>  Issue Type: Improvement
>Reporter: Xu Zhang
>Priority: Major
>
> {{currently __consumer_offsets}} cannot be changed for the lifetime of the 
> cluster, and it's generally a really bad idea to change the number of 
> partitions for __consumer_offsets after it is initially created. Because 
> hashing for consumer group name to partition to change, which means the group 
> coordinator will have no history.
>  
> Is there a way to change the number of partitions for __consumer_offsets? 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (KAFKA-10182) Change number of partitions of __consumer_offsets

2020-06-18 Thread huxihx (Jira)


[ 
https://issues.apache.org/jira/browse/KAFKA-10182?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17139155#comment-17139155
 ] 

huxihx commented on KAFKA-10182:


You could use `Admin.createPartitions` API to increase partition count for this 
internal topic.

> Change number of partitions of __consumer_offsets 
> --
>
> Key: KAFKA-10182
> URL: https://issues.apache.org/jira/browse/KAFKA-10182
> Project: Kafka
>  Issue Type: Improvement
>Reporter: Xu Zhang
>Priority: Major
>
> {{currently __consumer_offsets}} cannot be changed for the lifetime of the 
> cluster, and it's generally a really bad idea to change the number of 
> partitions for __consumer_offsets after it is initially created. Because 
> hashing for consumer group name to partition to change, which means the group 
> coordinator will have no history.
>  
> Is there a way to change the number of partitions for __consumer_offsets? 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)