Project structure for development
A project collects the resources of a streaming application: jobs, tables, data sources, and files. Resources that the project owns are internal and move with it. External resources come from outside the project and can change without notice.
Project resources
The project owns the following resources. When you push the project to Git, they are exported with it, except the project files and the environments.
| Resource | Description |
|---|---|
| Jobs | Job definitions, with their SQL and settings such as checkpointing and parallelism. The status of the job and the Flink job that runs it are not part of the definition. |
| Tables | The tables of the project, stored in the database named after the project, in
the ssb catalog. When you export the project, only the
ssb.[***PROJECT-NAME***].* tables are
exported. |
| Data sources | Kafka data sources and catalogs. The definitions belong to the project. The topics and tables that they expose are external, because another system manages them. |
| Functions | User-defined functions written in Python. |
| Project files | Uploaded files, such as TLS certificates and configuration folders. They are not exported to Git. See Managing project files. |
External resources
Jobs can also use resources that the project does not own:
| Resource | Description |
|---|---|
| Tables | Tables from other projects that you are a member of. Other members of your project might not have access to them. |
| Connectors | The connectors of the engine instance, shared by all users and projects. |
| Data formats | The data formats of the engine instance, shared by all users and projects. |
External resources can change outside your project. For a project that you plan to export or share, use project resources where you can.
Default projects
The first time you sign in to the Streaming SQL Console, Cloudera SQL Stream Builder (SSB) creates a personal project for
you, named [***USERNAME***]_default. Only you can see
it, until you invite other users to it. The global ssb_default project is
different: every user can access it, so everyone can see everything in it.
Environments and source control
Environments are not part of the exported project. Define them in each deployment where the project runs, and keep sensitive values in them. See Managing project environments and Masking sensitive values in source control.
