Skip to main content
Version: 4.x

Confluent Cloud Setup

This guide covers setting up a Confluent Cloud Kafka cluster with sample data for connecting to VeloDB.

Prerequisites


Step 1: Create a Kafka Cluster

  1. Log in to Confluent Cloud

Confluent Cloud Home

  1. Click Add cluster or navigate to Environments > default > Add cluster

  2. Select cluster type:

    • Basic - Free tier, good for development and testing
    • Standard - Production workloads with higher limits
  3. Choose Provider and region:

    • Select the same cloud provider and region as your VeloDB warehouse for best performance
    • Example: AWS us-east-1

Create Cluster

  1. Click Launch cluster

Step 2: Create Sample Data with Datagen

Use Confluent's built-in Datagen connector to generate sample data:

  1. In your cluster, go to Connectors in the left sidebar

  2. Click Add connector

  3. Search for Sample Data or Datagen Source

  4. Click on Sample Data to open the quick launch dialog

Launch Sample Data

  1. Configure the connector:

    • Topic: sample_data_orders (or your preferred name)
    • Select a template: Choose Orders (recommended for this guide)
  2. Click Launch

  3. Wait for the connector status to show Running

Connector Running

Important - Data Format

The default Datagen connector produces AVRO format. VeloDB only supports JSON and CSV formats.

To use JSON format, click Additional configuration before launching and set:

  • Output record value format: JSON

If you already created the connector with AVRO, create a new topic with a new Datagen connector configured for JSON output.


Step 3: Create API Keys

  1. Go to API Keys in the left sidebar under your cluster

API Keys Page

  1. Click Create key

  2. Select Global access (or scope to specific resources)

  3. Click Next and then Create

  4. Save both values - you'll need them for VeloDB:

    • API Key (username)
    • API Secret (password)
warning

The API Secret is only shown once. Save it securely before closing the dialog.


Step 4: Get Bootstrap Server

  1. Go to Cluster Settings in the left sidebar

Cluster Settings

  1. Find the Endpoints section

  2. Copy the Bootstrap server URL (e.g., pkc-xxxxx.us-east-1.aws.confluent.cloud:9092)


Values Needed for VeloDB

After completing setup, you'll need these values:

ValueDescriptionExample
Bootstrap ServerKafka broker endpointpkc-xxxxx.us-east-1.aws.confluent.cloud:9092
API KeyAuthentication usernameABCD1234EFGH5678
API SecretAuthentication passwordcflt37r+oeQB...
Topic NameTopic to consume fromsample_data_orders

Verify Your Setup

Check that your connector is producing data:

  1. Go to Topics in the left sidebar
  2. Click on your topic (e.g., sample_data_orders)
  3. Go to the Messages tab
  4. You should see messages being produced

Next Steps

Once your Confluent Cloud setup is complete, proceed to Connect to Confluent Cloud to set up the streaming import in VeloDB.