title: How to produce Kafka message with kcat?
body: <p>I'm trying to produce Kafka message with <code>kcat</code> tool. I have a message that follows topic schema:</p>
  <pre class="lang-json prettyprint-override"><code>{
    &quot;meta&quot;: {
      &quot;correlationId&quot;: &quot;244c7ed3-0472-496e-bed9-7071f8ddb921&quot;,
      &quot;payload&quot;: {
        &quot;id&quot;: &quot;3ae843e9-0c96-4ee8-b1f0-fbdfef30e9dd&quot;,
        &quot;timestamp&quot;: 1658846522
      }
    }
  }
  </code></pre>
  <p>store it to the file <code>k-msg-test.json</code> and run <code>kcat</code>:</p>
  <pre class="lang-bash prettyprint-override"><code>kcat \
    -b localhost:9092 \
    -r localhost:8081 \
    -t test-topic \
    -T \
    -P \
    /tmp/k-msg-test.json
  </code></pre>
  <p>and I get an error:</p>
  <pre><code>% Failed to open  : No such file or directory
  /tmp/k-msg-test.json: line 2: meta:: command not found
  /tmp/k-msg-test.json: line 3: correlationId:: command not found
  /tmp/k-msg-test.json: line 4: payload:: command not found
  /tmp/k-msg-test.json: line 5: id:: command not found
  /tmp/k-msg-test.json: line 6: timestamp:: command not found
  /tmp/k-msg-test.json: line 8: syntax error near unexpected token `}'
  /tmp/k-msg-test.json: line 8: `  }'
  </code></pre>
  <p>So the question is – how can I produce a message?</p>