Adding a new data format

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.
  1. 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.
  2. In the Explorer, expand External Resources.
  3. Click the New Data Format icon next to Data Formats.
    The Data Format window opens, on the General tab.
  4. In Type, enter the name of the format.
    Use the value that a table sets in the format option.
  5. Click Upload JAR, and select the JAR file.
  6. Click the Properties tab.
  7. 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.
  8. Click Create.
    The format is listed under Data Formats in the Explorer.
  9. 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.