This week, we’ve got an online live demo coming up showing how to use Kafka to support gaming features like user bug exploits. We’ve also got a new step-by-step Amazon S3 connector YouTube video, as well as a summary of the CLI tools available with a Kafka download. In our terminal tips section today, you’ll follow a quickstart to learn how to produce events to Kafka. Enjoy!
Today we’ll learn how to produce events to a topic using an Apache Kafka quickstart with confluent-local. (Make sure you have docker running first with docker info). The first two steps are to install confluent-local and start the Kafka broker:
> brew install confluentinc/tap/cli
> confluent local kafka start
Then, start the producer and enter some messages which will be your events (ctrl+C to send them):
> confluent local kafka topic produce quickstart
this is the first event
this is the second event
To learn how to consume these messages in your terminal, continue the tutorial on Confluent Developer.
We hope you enjoyed our curated assortment of resources! If you’d like to provide feedback, suggest ideas for content you’d like to see, or you want to submit your own resource for consideration, send us an email at devx_newsletter@confluent.io!
If you’re viewing this newsletter online, know that we appreciate your readership and that you can get this newsletter delivered directly to your inbox by scrolling down to the bottom of the page and filling out the form.
P.S. If you want to learn more about Kafka or Confluent Cloud, visit our developer site at Confluent Developer.
We will only share developer content and updates, including notifications when new content is added. We will never send you sales emails. 🙂 By subscribing, you understand we will process your personal information in accordance with our Privacy Statement.