Senior Developer Advocate (Presenter)
In this exercise you will set up the environment needed to complete the course exercises. The first step is to clone the GitHub repository.
You now have the code needed for the course exercises locally on your computer. Next, you need to set up a Kafka cluster on Confluent Cloud.
Note: If you did not complete the previous exercise, do so now before proceeding to the next step.
Note: If one or more clusters already exist in the environment, click + Add cluster.
Now you will see your configuration and cost settings for your cluster.
Next, you need to enable Schema Registry for your Confluent Cloud environment. To do so, enable the Streams Governance Essentials Package. Note that these steps may not be required if Schema Registry was previously enabled for the environment that you will be using to complete the course exercises. Schema Registry only needs to be enabled once for any Confluent Cloud environment.
You also need to enable ksqlDB for your Confluent Cloud cluster. Let’s do this now.
Proceed to the next step when the ksqlDB cluster provisioning has completed. Provisioning can take several minutes.
FREE ACCESS: Basic clusters used in the context of this exercise won't incur much cost, and the amount of free usage that you receive along with the promo code SCHEMA101 for $25 of free Confluent Cloud usage will be more than enough to cover it. You can also use the promo code CONFLUENTDEV1 to delay entering a credit card for 30 days.
Note: The ksqlDB cluster will slowly deplete your promotional credits so you want to complete the environment cleanup steps at the end of the last exercise to limit this impact.
Next, you will create the configuration properties needed to connect to your cluster.
This will download the key and secret to the local machine Downloads directory.
Now that you have the required Java client configuration settings, you are ready to update the related client properties file in the schema-registry project.
Note: The GithHub project is configured to ignore this file—you should never commit API keys and secrets.
You are now all set up to do the exercises in the course!
Hi, I'm Danica Fine. Glad to see you came along for this first hands-on Schema Registry exercise. In it, you'll set up the environment that you'll need in order to complete the rest of the hands-on exercises in this course. You'll need to login to Confluent Cloud. So if you don't already have an account, before continuing, pause the video and go back to take a look at the signup steps contained at the end of the previous module. I'll be right here when you're ready. Now that you have your Confluent Cloud account, the first step you'll complete in this exercise is to clone the Learn Kafka Courses GitHub repository. It includes the Schema Registry sub-project that you'll use during this and following exercises in this course. Next you'll create a new Kafka cluster in Confluent Cloud that you'll use with the course exercises. After creating the schema-registry-101 cluster, you'll enable Schema Registry for your Confluent Cloud environment. And note that Schema Registry only needs to be enabled once for any Confluent Cloud environment. So this step may not be required if Schema Registry was already previously enabled for the environment you'll be using. Now that Schema Registry has been enabled for your environment, you can define the Java client configuration settings that will be used during the course exercises. And the last step of this exercise is to create the local Java client properties file within the Schema Registry project. When you're finished, join me in the next module.
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.