kafka-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ján Koščo <3k.stan...@gmail.com>
Subject Re: deleteConfig not working in Kafka 0.9
Date Wed, 13 Jan 2016 21:24:07 GMT
Finally I founded way to contribute! PR for fixed on github -
https://github.com/apache/kafka/pull/768

2016-01-13 20:48 GMT+01:00 Mhaskar, Tushar <tmhaskar@paypal.com.invalid>:

> http://kafka.apache.org/documentation.html#basic_ops_modify_topic
>
>
> Tushar
>
>
>
>
> On 1/13/16, 11:33 AM, "Ismael Juma" <ismaelj@gmail.com> wrote:
>
> >There was a recent fix for this, but I don't know if all places were
> fixed.
> >Where did you see the incorrect documentation?
> >
> >Ismael
> >On 13 Jan 2016 19:10, "Mhaskar, Tushar" <tmhaskar@paypal.com.invalid>
> wrote:
> >
> >> Yes it works. Probably the Kafka documentation needs to be updated for
> >> this change.
> >>
> >> Thanks,
> >> Tushar
> >>
> >>
> >>
> >>
> >> On 1/13/16, 10:59 AM, "ismaelj@gmail.com on behalf of Ismael Juma" <
> >> ismaelj@gmail.com on behalf of ismael@juma.me.uk> wrote:
> >>
> >> >Can you please try --delete-config instead?
> >> >
> >> >Ismael
> >> >On 13 Jan 2016 18:52, "Mhaskar, Tushar" <tmhaskar@paypal.com.invalid>
> >> wrote:
> >> >
> >> >> Hi All,
> >> >>
> >> >> I am facing issues deleting config for a topic in Kafka 0.9. Anybody
> >> >> facing the same issue?
> >> >>
> >> >>
> >> >> ./kafka-topics.sh —zookeeper XX.XX.XX.XXX:2181 --alter --topic
> testTopic
> >> >> --deleteConfig retention.ms
> >> >>
> >> >>
> >> >> Exception in thread "main" joptsimple.UnrecognizedOptionException:
> >> >> 'deleteConfig' is not a recognized option
> >> >>
> >> >> at
> >> joptsimple.OptionException.unrecognizedOption(OptionException.java:93)
> >> >>
> >> >> at
> joptsimple.OptionParser.handleLongOptionToken(OptionParser.java:402)
> >> >>
> >> >> at
> >> joptsimple.OptionParserState$2.handleArgument(OptionParserState.java:55)
> >> >>
> >> >> at joptsimple.OptionParser.parse(OptionParser.java:392)
> >> >>
> >> >> at
> >> >>
> >>
> kafka.admin.TopicCommand$TopicCommandOptions.<init>(TopicCommand.scala:311)
> >> >>
> >> >> at kafka.admin.TopicCommand$.main(TopicCommand.scala:41)
> >> >>
> >> >> at kafka.admin.TopicCommand.main(TopicCommand.scala)
> >> >>
> >> >> Thanks,
> >> >> Tushar
> >> >>
> >>
>

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