Hi Alexandre, Thanks for the KIP.
Some comments: 1. Usually, in "Proposed Changes" section, we won't put PR link there. Maybe you can take KIP-824 <https://cwiki.apache.org/confluence/display/KAFKA/KIP-824%3A+Allowing+dumping+segmentlogs+limiting+the+batches+in+the+output> as a reference. 2. Also, it'd be better you can provide some example reader-config and formatter-config file. And how they work within the script. 3. If user provide both `--reader-config or --formatter-config` and `--property` at the same time, how will we handle this case? Could you add that into the KIP? Thank you. Luke On Sun, May 29, 2022 at 2:32 AM Alexandre Garnier <zigarn+ka...@gmail.com> wrote: > Hi! > > Thanks for the feedback. > It's a good point, I updated KIP accordingly and did put the > dot-separated option in rejected alternatives. > > Le ven. 27 mai 2022 à 10:22, deng ziming <dengziming1...@gmail.com> a > écrit : > > > > Thanks for the KIP, this is a good improvement. I only have one minor > suggestion. > > > > Currently many command line tools supports config file argument, but > their name style is not unified, for example, most newly added tools are > using --command-config, but ConsoleConsumer use —consumer.config。 I think > we should unify the naming style from now on, I recommend us to use > --reader-config and --formatter-config for the newly added arguments. > > > > -- > > Best, > > Ziming > > > > > > > On May 26, 2022, at 4:36 PM, Alexandre Garnier <zig...@gmail.com> > wrote: > > > > > > Hello everyone, > > > > > > Any feedback on this KIP https://cwiki.apache.org/confluence/x/bBqhD? > > > It is a straightforward improvement without any impact on existing > users, > > > so not much to discuss besides maybe the option name. > > > > > > -- > > > Alex > > > > > > > > > Le mer. 18 mai 2022 à 10:44, Alexandre Garnier <zig...@gmail.com> a > écrit : > > > > > >> Hi everyone, > > >> > > >> I created a KIP to add a config file option of reader/formatter for > > >> kafka-console-(consumer|producer).sh tools. > > >> https://cwiki.apache.org/confluence/x/bBqhD > > >> > > >> Thanks for your feedback, > > >> -- > > >> Alex > > >> > > >