Kafka API Producer

Send a message to your own Kafka topic and see exactly where it landed — partition, offset and all — as JSON, plain text or Avro.

JSON, text & Avro Keys & headers Partition & offset back Practice broker Generate a project
Your username and password are never saved.
This writes a real record to a real topic. Point it at a scratch topic unless you mean to add to a live one.

Connection

Where to send
Your broker must be reachable from the public internet. A broker on localhost is on your machine, not ours, so we cannot reach it.

Message

What to send

Raw Avro, no Schema Registry framing. In Avro JSON a union is written {"string": "value"}, not "value".

Headers

Generate your project in seconds

Create a ready-to-run Spring Boot project connected to your configuration.