General Information
Connection Type
UI Documentation
📖 For detailed information: [UI Documentation Link - Link will be added here]
Endpoints
List Connections
Get Connection
Create Connection
Update Connection
Delete Connection
List Connections
Endpoint
Request
Headers
| Header | Value |
|---|---|
| Authorization | Bearer |
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| projectName | string | Yes | Project name |
type query parameter is required to filter connections by type.
cURL Example
Get Connection
Endpoint
Request
Headers
| Header | Value |
|---|---|
| Authorization | Bearer |
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| projectName | string | Yes | Project name |
| connectionName | string | Yes | Connection name |
Response
Success Response (200 OK)
cURL Example
Create Connection
Endpoint
Request
Headers
| Header | Value |
|---|---|
| Authorization | Bearer |
| Content-Type | application/json |
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| projectName | string | Yes | Project name |
| connectionName | string | Yes | Connection name (must match name in body) |
Request Body
Full JSON Body Example
Request Body Fields
Common Fields
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
| type | string | Yes | - | Connection type discriminator field. Identifies the connection type in API requests/responses. |
| name | string | Yes | - | Connection name (must match path parameter) |
| description | string | No | - | Connection description |
| deployToWorker | boolean | No | true | Whether to deploy to worker |
| enabled | boolean | No | true | Whether connection is enabled |
Kafka-Specific Fields
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
| topicName | string | Yes | - | Kafka topic name |
| propertiesMap | object | Yes | - | Kafka producer properties map |
| enableSecure | boolean | No | false | Enable SSL/TLS encryption |
| protocolTypes | array | No* | [] | SSL/TLS protocol types (required if enableSecure=true) |
| keyStoreName | string | No* | - | KeyStore name (required if enableSecure=true) |
| trustStoreName | string | No | - | TrustStore name (optional, for server certificate validation) |
propertiesMap Structure
Each property inpropertiesMap is a MapValue object with:
value(string) - Property valuevalueType(string) - Value type
MapValueType
STRING- String valueBOOLEAN- Boolean valueINTEGER- Integer valueLONG- Long valueDOUBLE- Double valueFLOAT- Float valueSTRING_LIST- Comma-separated string listURI- 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 failurebatch.size(INTEGER) - Batch size in byteslinger.ms(INTEGER) - Time to wait before sending batch
EnumSSLContextProtocolType
TLS_1_3- TLS 1.3TLS_1_2- TLS 1.2TLS_1_1- TLS 1.1TLS_1_0- TLS 1.0SSL_3_0- SSL 3.0 (deprecated)
Note
propertiesMapmust contain at leastbootstrap.servers,key.serializer, andvalue.serializer- If
enableSecure: true,protocolTypesandkeyStoreNameare required keyStoreNameandtrustStoreNamerefer to KeyStore names (not IDs) - they are converted to IDs internally
Response
Success Response (200 OK)
cURL Example
Update Connection
Endpoint
Request
Headers
| Header | Value |
|---|---|
| Authorization | Bearer |
| Content-Type | application/json |
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| projectName | string | Yes | Project name |
| connectionName | string | Yes | Connection name (must match name in body) |
Request Body
Full JSON Body Example
Response
Success Response (200 OK)
cURL Example
Delete Connection
Endpoint
Request
Headers
| Header | Value |
|---|---|
| Authorization | Bearer |
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| projectName | string | Yes | Project name |
| connectionName | string | Yes | Connection name |
Response
Success Response (200 OK)
cURL Example
Notes and Warnings
-
Required Properties:
propertiesMapmust contain at least:bootstrap.servers- Kafka broker addresseskey.serializer- Key serializer classvalue.serializer- Value serializer class
-
SSL/TLS: When
enableSecure: true:protocolTypesmust be provided (at least one protocol)keyStoreNameis required (KeyStore must exist)trustStoreNameis optional (for server certificate validation)
- KeyStore/TrustStore: Use KeyStore names (not IDs). They are converted to IDs internally.
-
Property Types: Use correct
valueTypefor each property:- Numbers:
INTEGER,LONG,DOUBLE,FLOAT - Booleans:
BOOLEAN - Strings:
STRING - Lists:
STRING_LIST(comma-separated)
- Numbers:
- 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- Stringorg.apache.kafka.common.serialization.ByteArraySerializer- Byte arrayorg.apache.kafka.common.serialization.IntegerSerializer- Integer
-
Deployment: If
deployToWorker: true, connection is automatically deployed to workers -
Name Matching: Path parameter
connectionNamemust match thenamefield in the request body
Related Documentation
- List Connections - List all connections
- Get Connection - Get connection details
- Create Connection - General connection creation guide
- Update Connection - General connection update guide
- Delete Connection - General connection deletion guide

