Datagen connector

The Datagen connector can be used a source to generate random data. The Datagen connector works out of the box, no mandatory field is required to use the connector. The Datagen connector is useful when you want to experiment and try out SQL Stream Builder or to test your SQL queries using random data.

Template: datagen
You do not need to provide any type of information when using the Datagen connector and template.
Type: source

Using the Datagen connector

You can access and import the templates of the Datagen connector from Streaming SQL Console:

  1. Navigate to the Streaming SQL Console.
    1. Go to your cluster in Cloudera Manager.
    2. Click on SQL Stream Builder from the list of Services.
    3. Click on the SQLStreamBuilder Console.

      The Streaming SQL Console opens in a new window.

  2. Click Create Job or select a previous job on the Getting Started page.
  3. Click Templates at the SQL Editor.
  4. Select the Datagen template.

    The template is imported to the SQL window.

  5. Click Execute.