title: kafka console consumer pretty print json
body: <p>How to print response from Kafka console consumer to JSON pretty. I have tried this but it's not working.</p>
  
  <pre><code>./kafka-console-consumer.sh --bootstrap-server localhost:9092 --topic indexing-v1 
  --from-beginning | python -m json.tool
  </code></pre>