[ https://issues.apache.org/jira/browse/KAFKA-3597?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15261145#comment-15261145 ]
ASF GitHub Bot commented on KAFKA-3597: --------------------------------------- GitHub user apovzner opened a pull request: https://github.com/apache/kafka/pull/1278 KAFKA-3597: Query ConsoleConsumer and VerifiableProducer if they shutdown cleanly Even if a test calls stop() on console_consumer or verifiable_producer, it is still possible that producer/consumer will not shutdown cleanly, and will be killed forcefully after a timeout. It will be useful for some tests to know whether a clean shutdown happened or not. This PR adds methods to console_consumer and verifiable_producer to query whether clean shutdown happened or not. @hachikuji and/or @granders Please review. You can merge this pull request into a Git repository by running: $ git pull https://github.com/apovzner/kafka kafka-3597 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/kafka/pull/1278.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #1278 ---- commit 501ae1ad97b6b77a2078ed234bbbbafe9f828ecd Author: Anna Povzner <a...@confluent.io> Date: 2016-04-27T22:56:43Z KAFKA-3597: Enable query ConsoleConsumer and VerifiableProducer if they shutdown cleanly ---- > Enable query ConsoleConsumer and VerifiableProducer if they shutdown cleanly > ---------------------------------------------------------------------------- > > Key: KAFKA-3597 > URL: https://issues.apache.org/jira/browse/KAFKA-3597 > Project: Kafka > Issue Type: Test > Reporter: Anna Povzner > Assignee: Anna Povzner > Fix For: 0.10.0.0 > > > It would be useful for some tests to check if ConsoleConsumer and > VerifiableProducer shutdown cleanly or not. > Add methods to ConsoleConsumer and VerifiableProducer that return true if all > producers/consumes shutdown cleanly; otherwise false. -- This message was sent by Atlassian JIRA (v6.3.4#6332)