Not sure why the message count output was added. However, it goes to stderr, not stdout.
Thanks, Jun On Tue, Mar 4, 2014 at 8:49 PM, Jay Kreps <jay.kr...@gmail.com> wrote: > The console consumer broken windows on the 0.8.1 branch. Going through the > quickstart I notice two issues: > > 1. Control-C now produces a spurious error message: > [2014-03-04 20:44:38,026] WARN Reconnect due to socket error: null > (kafka.consumer.SimpleConsumer) > > 2. Somebody has added this useless message in the output: > Consumed 3 messages > > I actually see 1. in the server logs as well. > > (2) seems clever but unfortunately with this message you actually can't DO > anything with the console producer output like pipe it to another command > because we are printing non-message text to the console. Does anyone know > what the motivation for this is? If you want to count the lines just pipe > it to something like wc. This is unix people! > > -Jay >