After installing Kafka as a service on your cluster, you can register the Kafka as a
data source to use it as a Virtual Table in SQL Stream Builder (SSB).
Make sure that you have Kafka service on your cluster.
Make sure that you have the right permissions set in Ranger.
In case you want to use Schema Registry, make sure that you have Schema service
on your cluster.
In case you want to use Schema Registry, make sure to add a schema before
registering Kafka as a data source.
Go to your cluster in Cloudera Manager.
Click on SQL Stream Builder from the list of
Services.
Click on SQLStreamBuilder Console.
The Streaming SQL Console opens up in a new window.
Click on Data Sources from the main menu.
Click on Register Kafka Provider.
The Add Kafka Provider window appears.
Add a Name to your Kafka source.
Add the broker host name(s) to Brokers.
You need to copy the Kafka broker name(s) from Cloudera Manager.
Go to your cluster in Cloudera Manager.
Click on Kafka from the list of Services.
Click on Instances.
Copy the Hostname of the Kafka broker(s) you want to use.