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.
git clonecommand with the URL to the repo you just copied to the clipboard.
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.
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-registryproject in the text editor or IDE of your choice.
source/main/resources, make a copy of the
confluent.properties.origfile, and name the new file
Note: The GithHub project is configured to ignore this file—you should never commit API keys and secrets.
confluent.propertiesfile and replace the current contents with the Java client configs you copied from Confluent Cloud.
You are now all set up to do the exercises in the course!
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.