Data sources
Data sources and catalogs connect the Streaming SQL Console to the systems that your jobs read from and write to. A data source registers a Kafka cluster. A catalog exposes the tables of an external system.
Each project has its own data sources and catalogs. You manage both in the Explorer, under the Data Sources node.
| Item | What it registers | Use it to |
|---|---|---|
| Kafka data source | The brokers, protocol, and credentials of a Kafka cluster | Create Kafka tables |
| Catalog | Kudu, Iceberg, Cloudera Harmony, or a custom catalog | Query existing schemas and tables without defining each one |
To work with the items of a project:
- Under Data Sources, the Kafka node lists the Kafka data sources, and the Catalog node lists the catalogs.
- To register an item, open the menu of the Kafka or Catalog node, and click New Kafka Data Source or New Catalog.
- To list, search, edit, or open all items, click Manage in the same menu.
- To copy or remove an item, open the Controls menu (the three-dot icon) of the item, and click Duplicate or Delete. After you duplicate an item, a notification confirms that the copy was created. You can then rename and change the copy.
Cloudera SQL Stream Builder (SSB) does not create a Kafka data source for you on Anywhere Cloud. Register each Kafka cluster that your jobs use. To find out which Kafka clusters your deployment can reach, and what to enter for each, see Kafka clusters that you can connect to.
The Kerberos credentials of Cloudera Base on premises clusters are not entered in the data source. For more information, see Adding data sources from Cloudera Base on premises clusters.
