Register a data format to use a Flink format that the engine does not include. You
provide the JAR file of the format and the properties that its templates contain.
- You must be a Cloudera SQL Stream Builder (SSB) administrator.
- The Cloudera Streaming Analytics engine instance must have a bucket bound to its
default purpose. For more information, see Preparing
storage for Cloudera Streaming Analytics.
- You must have a JAR file of the format that includes its dependencies.
-
In the Streaming SQL Console, click Projects in the left
navigation pane, and click the name of your project.
The project opens, with the Explorer panel on the left.
To open the Streaming SQL Console, see Accessing Cloudera SQL Stream Builder.
-
In the Explorer, expand External
Resources.
-
Click the New Data Format icon next to Data
Formats.
The Data Format window opens, on the
General tab.
-
In Type, enter the name of the format.
Use the value that a table sets in the format option.
-
Click Upload JAR, and select the JAR file.
-
Click the Properties tab.
-
For each property of the format, add a row, and enter the
Name, the Default Value, and the
Description. Select Required if every
table must set the option.
-
Click Create.
The format is listed under Data Formats in the
Explorer.
-
To use the format with a connector, turn it on under Supported
Formats in the window of the connector.
For more information, see Adding a new connector.
To change a format, click its name under Data Formats, and click
Edit. To delete it, open its menu, and click
Delete. A packaged format cannot be changed or deleted.