This week, get the scoop on what’s new in Apache Kafka 3.6 (spoilers: Tiered Storage and a grace period for stream-table joins!), learn why building queues on top of logs makes a lot of sense, discover how you can contribute to and engage with the Apache Flink community, get a tip for using the Kafka Storage tool, and plenty more. Enjoy!
This week, we'll learn about the Kafka storage tool. You can use it to generate a cluster UUID and then format the storage when you're running Kafka in KRaft mode.
First, you need to use the tool to generate a random UUID:
bin/kafka-storage.sh random-uuid
d5999679-ba23-4816-8363-0f67e28ae6e1
Using the tool ensures that it'll be a type 4 UUID not matching the internal Kafka UUIDs.
Next up, format your cluster with the id, passing in the path to your server.properties:
bin/kafka-storage.sh format -t d5999679-ba23-4816-8363-0f67e28ae6e1 -c config/kraft/server.properties
and that's it!
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.