Using this API, you can publish a stream to any Kafka topic. By topic, we mean a named log used for storing records in order so that they are relative to one another. Also, once the record is written to a topic, it does not get altered or deleted. Instead, they are stored in the topic for a preconfigured time.