The guide below demonstrates how to quickly get started with Apache Kafka. You'll connect to a broker, create a topic, produce some messages, and consume them. Be sure to also check out the client code examples to learn more.
Head over to Confluent Cloud and sign up for an account if you don’t have one already. As a new user, you’ll receive $400 to spend within your first 60 days. If you've already signed up you can head straight to the login page.
From the environments page click on Add Cluster and follow the prompts to launch a Basic cluster with a cloud provider and region of your choosing.
You can also interact with Confluent Cloud from the command line using the Confluent CLI.
From the left-hand navigation click on Topics and then Create Topic.
Specify the name as
quickstart, set the Number of partitions to
1, and then click on Create with defaults.
From the left-hand navigation click on Topics to see your new topic listed.
Click on the
quickstart topic and then Messages.
Click Produce a new message to this topic, enter some JSON as the payload, and click on Produce.
Underneath the pane where you created the message, you will see the message appear:
You can also view the messages from the Messages tab and enter an offset of 0 to view all messages from the beginning of the topic in a given partition.
Because the topic only has one partition, you will see all the messages.
Run pre-built ksqlDB recipes that tackle the highest impact use cases for stream processing
Write your first application using these full code examples in Java, Python, Go, .NET, Node.js, C/C++, REST, Spring Boot, and further languages and CLIs.
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.