You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by Ashish Singh <as...@cloudera.com> on 2015/06/25 00:10:36 UTC
Review Request 35850: Patch for KAFKA-2301
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/35850/
-----------------------------------------------------------
Review request for kafka.
Bugs: KAFKA-2301
https://issues.apache.org/jira/browse/KAFKA-2301
Repository: kafka
Description
-------
KAFKA-2301: Deprecate ConsumerOffsetChecker
Diffs
-----
bin/kafka-consumer-offset-checker.sh c275f7ef6975c3e1226c9b286d64ad55a67b0a8b
bin/windows/kafka-consumer-offset-checker.bat b6967c49609c3560786921d54e9df50d70c68713
core/src/main/scala/kafka/tools/ConsumerOffsetChecker.scala 3d52f62c88a509a655cf1df6232b738c25fa9b69
system_test/broker_failure/config/log4j.properties 23ece9bb5b3d521bb692870bc929865f68caabe0
Diff: https://reviews.apache.org/r/35850/diff/
Testing
-------
Thanks,
Ashish Singh
Re: Review Request 35850: Patch for KAFKA-2301
Posted by Ashish Singh <as...@cloudera.com>.
> On June 25, 2015, 1:06 a.m., Ewen Cheslack-Postava wrote:
> > Is this what was intended by "deprecate"? I'm not sure there's been serious discussion about this yet, but this doesn't really deprecate the command in a compatible way -- just changing to ConsumerGroupCommand requires changing command lines that previously would have worked (e.g., ./bin/kafka-consumer-groups.sh --zookeeper localhost:2181 --group foo will now output "Command must include exactly one action: --list, --describe, --delete"). Also, I'm not sure removing the bat file entirely is ok -- shouldn't that have basically the same change as the sh file?
Ewen, thanks for the review. Even I have doubts regarding dropping the tool right away, but I thought during KIP discussion this is what we decided. I will be happy if we just put a warning for now and drop the tool in 1.x release? Let me know your thoughts. We can also raise this in next KIP hangout, which is tomorrow :)
- Ashish
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/35850/#review89301
-----------------------------------------------------------
On June 24, 2015, 10:10 p.m., Ashish Singh wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/35850/
> -----------------------------------------------------------
>
> (Updated June 24, 2015, 10:10 p.m.)
>
>
> Review request for kafka.
>
>
> Bugs: KAFKA-2301
> https://issues.apache.org/jira/browse/KAFKA-2301
>
>
> Repository: kafka
>
>
> Description
> -------
>
> KAFKA-2301: Deprecate ConsumerOffsetChecker
>
>
> Diffs
> -----
>
> bin/kafka-consumer-offset-checker.sh c275f7ef6975c3e1226c9b286d64ad55a67b0a8b
> bin/windows/kafka-consumer-offset-checker.bat b6967c49609c3560786921d54e9df50d70c68713
> core/src/main/scala/kafka/tools/ConsumerOffsetChecker.scala 3d52f62c88a509a655cf1df6232b738c25fa9b69
> system_test/broker_failure/config/log4j.properties 23ece9bb5b3d521bb692870bc929865f68caabe0
>
> Diff: https://reviews.apache.org/r/35850/diff/
>
>
> Testing
> -------
>
>
> Thanks,
>
> Ashish Singh
>
>
Re: Review Request 35850: Patch for KAFKA-2301
Posted by Ewen Cheslack-Postava <me...@ewencp.org>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/35850/#review89301
-----------------------------------------------------------
Is this what was intended by "deprecate"? I'm not sure there's been serious discussion about this yet, but this doesn't really deprecate the command in a compatible way -- just changing to ConsumerGroupCommand requires changing command lines that previously would have worked (e.g., ./bin/kafka-consumer-groups.sh --zookeeper localhost:2181 --group foo will now output "Command must include exactly one action: --list, --describe, --delete"). Also, I'm not sure removing the bat file entirely is ok -- shouldn't that have basically the same change as the sh file?
- Ewen Cheslack-Postava
On June 24, 2015, 10:10 p.m., Ashish Singh wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/35850/
> -----------------------------------------------------------
>
> (Updated June 24, 2015, 10:10 p.m.)
>
>
> Review request for kafka.
>
>
> Bugs: KAFKA-2301
> https://issues.apache.org/jira/browse/KAFKA-2301
>
>
> Repository: kafka
>
>
> Description
> -------
>
> KAFKA-2301: Deprecate ConsumerOffsetChecker
>
>
> Diffs
> -----
>
> bin/kafka-consumer-offset-checker.sh c275f7ef6975c3e1226c9b286d64ad55a67b0a8b
> bin/windows/kafka-consumer-offset-checker.bat b6967c49609c3560786921d54e9df50d70c68713
> core/src/main/scala/kafka/tools/ConsumerOffsetChecker.scala 3d52f62c88a509a655cf1df6232b738c25fa9b69
> system_test/broker_failure/config/log4j.properties 23ece9bb5b3d521bb692870bc929865f68caabe0
>
> Diff: https://reviews.apache.org/r/35850/diff/
>
>
> Testing
> -------
>
>
> Thanks,
>
> Ashish Singh
>
>
Re: Review Request 35850: Patch for KAFKA-2301
Posted by Ashish Singh <as...@cloudera.com>.
> On July 2, 2015, 8:01 a.m., Ewen Cheslack-Postava wrote:
> > core/src/main/scala/kafka/tools/ConsumerOffsetChecker.scala, line 110
> > <https://reviews.apache.org/r/35850/diff/2/?file=997797#file997797line110>
> >
> > Since this is a warning, can we just use warn() instead of info()? Otherwise, this trivial patch LGTM!
The reason I had it as info was if someone is suppressing warnings they might not get this message. However, I guess that is the price they pay for suppressing warnings. Made the change.
- Ashish
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/35850/#review90199
-----------------------------------------------------------
On July 2, 2015, 4:04 p.m., Ashish Singh wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/35850/
> -----------------------------------------------------------
>
> (Updated July 2, 2015, 4:04 p.m.)
>
>
> Review request for kafka.
>
>
> Bugs: KAFKA-2301
> https://issues.apache.org/jira/browse/KAFKA-2301
>
>
> Repository: kafka
>
>
> Description
> -------
>
> KAFKA-2301: Deprecate ConsumerOffsetChecker
>
>
> Diffs
> -----
>
> core/src/main/scala/kafka/tools/ConsumerOffsetChecker.scala 3d52f62c88a509a655cf1df6232b738c25fa9b69
>
> Diff: https://reviews.apache.org/r/35850/diff/
>
>
> Testing
> -------
>
>
> Thanks,
>
> Ashish Singh
>
>
Re: Review Request 35850: Patch for KAFKA-2301
Posted by Ewen Cheslack-Postava <me...@ewencp.org>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/35850/#review90199
-----------------------------------------------------------
core/src/main/scala/kafka/tools/ConsumerOffsetChecker.scala (line 110)
<https://reviews.apache.org/r/35850/#comment143205>
Since this is a warning, can we just use warn() instead of info()? Otherwise, this trivial patch LGTM!
- Ewen Cheslack-Postava
On July 2, 2015, 12:46 a.m., Ashish Singh wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/35850/
> -----------------------------------------------------------
>
> (Updated July 2, 2015, 12:46 a.m.)
>
>
> Review request for kafka.
>
>
> Bugs: KAFKA-2301
> https://issues.apache.org/jira/browse/KAFKA-2301
>
>
> Repository: kafka
>
>
> Description
> -------
>
> KAFKA-2301: Deprecate ConsumerOffsetChecker
>
>
> Diffs
> -----
>
> core/src/main/scala/kafka/tools/ConsumerOffsetChecker.scala 3d52f62c88a509a655cf1df6232b738c25fa9b69
>
> Diff: https://reviews.apache.org/r/35850/diff/
>
>
> Testing
> -------
>
>
> Thanks,
>
> Ashish Singh
>
>
Re: Review Request 35850: Patch for KAFKA-2301
Posted by Guozhang Wang <wa...@gmail.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/35850/#review93346
-----------------------------------------------------------
Ship it!
Ship It!
- Guozhang Wang
On July 2, 2015, 4:04 p.m., Ashish Singh wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/35850/
> -----------------------------------------------------------
>
> (Updated July 2, 2015, 4:04 p.m.)
>
>
> Review request for kafka.
>
>
> Bugs: KAFKA-2301
> https://issues.apache.org/jira/browse/KAFKA-2301
>
>
> Repository: kafka
>
>
> Description
> -------
>
> KAFKA-2301: Deprecate ConsumerOffsetChecker
>
>
> Diffs
> -----
>
> core/src/main/scala/kafka/tools/ConsumerOffsetChecker.scala 3d52f62c88a509a655cf1df6232b738c25fa9b69
>
> Diff: https://reviews.apache.org/r/35850/diff/
>
>
> Testing
> -------
>
>
> Thanks,
>
> Ashish Singh
>
>
Re: Review Request 35850: Patch for KAFKA-2301
Posted by Ashish Singh <as...@cloudera.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/35850/
-----------------------------------------------------------
(Updated July 2, 2015, 4:04 p.m.)
Review request for kafka.
Bugs: KAFKA-2301
https://issues.apache.org/jira/browse/KAFKA-2301
Repository: kafka
Description
-------
KAFKA-2301: Deprecate ConsumerOffsetChecker
Diffs (updated)
-----
core/src/main/scala/kafka/tools/ConsumerOffsetChecker.scala 3d52f62c88a509a655cf1df6232b738c25fa9b69
Diff: https://reviews.apache.org/r/35850/diff/
Testing
-------
Thanks,
Ashish Singh
Re: Review Request 35850: Patch for KAFKA-2301
Posted by Ashish Singh <as...@cloudera.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/35850/
-----------------------------------------------------------
(Updated July 2, 2015, 12:46 a.m.)
Review request for kafka.
Bugs: KAFKA-2301
https://issues.apache.org/jira/browse/KAFKA-2301
Repository: kafka
Description
-------
KAFKA-2301: Deprecate ConsumerOffsetChecker
Diffs (updated)
-----
core/src/main/scala/kafka/tools/ConsumerOffsetChecker.scala 3d52f62c88a509a655cf1df6232b738c25fa9b69
Diff: https://reviews.apache.org/r/35850/diff/
Testing
-------
Thanks,
Ashish Singh