Skip to main content

General Information

Connection Type

UI Documentation

Endpoints

List Connections

Get Connection

Create Connection

Update Connection

Delete Connection


List Connections

Endpoint

Request

Headers

Path Parameters

Note: The type query parameter is required to filter connections by type.

cURL Example


Get Connection

Endpoint

Request

Headers

Path Parameters

Response

Success Response (200 OK)

cURL Example


Create Connection

Endpoint

Request

Headers

Path Parameters

Request Body

Full JSON Body Example
Request Body Fields
Common Fields
Kafka-Specific Fields

propertiesMap Structure

Each property in propertiesMap is a MapValue object with:
  • value (string) - Property value
  • valueType (string) - Value type

MapValueType

  • STRING - String value
  • BOOLEAN - Boolean value
  • INTEGER - Integer value
  • LONG - Long value
  • DOUBLE - Double value
  • FLOAT - Float value
  • STRING_LIST - Comma-separated string list
  • URI - URI value

Common Kafka Properties

  • bootstrap.servers (STRING) - Kafka broker addresses (e.g., “localhost:9092” or “broker1:9092,broker2:9092”)
  • key.serializer (STRING) - Key serializer class (e.g., “org.apache.kafka.common.serialization.StringSerializer”)
  • value.serializer (STRING) - Value serializer class (e.g., “org.apache.kafka.common.serialization.StringSerializer”)
  • max.block.ms (INTEGER) - Maximum time to block when sending (default: 3000)
  • acks (STRING) - Acknowledgment mode: “0”, “1”, or “all”
  • retries (INTEGER) - Number of retries on failure
  • batch.size (INTEGER) - Batch size in bytes
  • linger.ms (INTEGER) - Time to wait before sending batch

EnumSSLContextProtocolType

  • TLS_1_3 - TLS 1.3
  • TLS_1_2 - TLS 1.2
  • TLS_1_1 - TLS 1.1
  • TLS_1_0 - TLS 1.0
  • SSL_3_0 - SSL 3.0 (deprecated)

Note

  • propertiesMap must contain at least bootstrap.servers, key.serializer, and value.serializer
  • If enableSecure: true, protocolTypes and keyStoreName are required
  • keyStoreName and trustStoreName refer to KeyStore names (not IDs) - they are converted to IDs internally

Response

Success Response (200 OK)

cURL Example


Update Connection

Endpoint

Request

Headers

Path Parameters

Request Body

Full JSON Body Example
Note: Request body structure is the same as Create Connection.

Response

Success Response (200 OK)

cURL Example


Delete Connection

Endpoint

Request

Headers

Path Parameters

Response

Success Response (200 OK)

cURL Example


Notes and Warnings

  • Required Properties: propertiesMap must contain at least:
    • bootstrap.servers - Kafka broker addresses
    • key.serializer - Key serializer class
    • value.serializer - Value serializer class
  • SSL/TLS: When enableSecure: true:
    • protocolTypes must be provided (at least one protocol)
    • keyStoreName is required (KeyStore must exist)
    • trustStoreName is optional (for server certificate validation)
  • KeyStore/TrustStore: Use KeyStore names (not IDs). They are converted to IDs internally.
  • Property Types: Use correct valueType for each property:
    • Numbers: INTEGER, LONG, DOUBLE, FLOAT
    • Booleans: BOOLEAN
    • Strings: STRING
    • Lists: STRING_LIST (comma-separated)
  • Bootstrap Servers: Can be a single broker or comma-separated list (e.g., “broker1:9092,broker2:9092”)
  • Serializers: Common serializers:
    • org.apache.kafka.common.serialization.StringSerializer - String
    • org.apache.kafka.common.serialization.ByteArraySerializer - Byte array
    • org.apache.kafka.common.serialization.IntegerSerializer - Integer
  • Deployment: If deployToWorker: true, connection is automatically deployed to workers
  • Name Matching: Path parameter connectionName must match the name field in the request body