kafka-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Jorgensen <ajorgen...@twitter.com.INVALID>
Subject Re: Topic config reset on alter
Date Tue, 09 Dec 2014 21:27:58 GMT
Filed it here: https://issues.apache.org/jira/browse/KAFKA-1816

Thanks!
-- 
Andrew Jorgensen
@ajorgensen

On December 9, 2014 at 4:10:38 PM, Neha Narkhede (neha@confluent.io) wrote:

Thanks for reporting the bug. Would you mind filing a JIRA  
<https://issues.apache.org/jira/browse/KAFKA/?selectedTab=com.atlassian.jira.jira-projects-plugin:issues-panel>
 
?  

On Tue, Dec 9, 2014 at 12:46 PM, Andrew Jorgensen <  
ajorgensen@twitter.com.invalid> wrote:  

> I am using kafka 8.1.1  
>  
> If you run an alter on a topic to increase the number of partitions the  
> existing configs are removed from the topic. You can confirm this by doing:  
>  
> bin/kafka-topics.sh —zookeeper localhost —alter —topic topic —config  
> retention.ms=3600000  
>  
> bin/kafka-topics.sh —zookeeper localhost —describe  
> > Topic:topic PartitionCount:5 ReplicationFactor:1 Configs:  
> retention.ms=3600000  
>  
> bin/kafka-topics.sh —zookeeper localhost —alter —topic topic —partitions 10 

>  
> bin/kafka-topics.sh —zookeeper localhost —describe  
> > Topic:topic PartitionCount:10 ReplicationFactor:1 Configs:  
>  
> This feels like a bug to me, where is the best place to report something  
> like this?  
> --  
> Andrew Jorgensen  
> @ajorgensen  




--  
Thanks,  
Neha  

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message