tombentley opened a new pull request #9644:
URL: https://github.com/apache/kafka/pull/9644


   This fixes https://issues.apache.org/jira/browse/KAFKA-2955 by using 
`System.console` to determine whether we're connected to a TTY before printing 
the `kafka-console-producer.sh` prompt. That's not a perfect solution (since 
stdin might be connected to the tty but not stdout, or vice versa), but it's 
still better that printing many prompts when reading from a pipe.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to