v1
latestOpenAPI 3.1.02026-07-22106199311.5 KBStreaming Pipelines
Create a streaming pipeline definition
Creates a new streaming pipeline definition in the account and project
post/v1/projects/{projectId}/streaming-pipelines
Path parameters
projectIdstring uuid required
The ID of the project in which to create the streaming pipeline definition
Request body
Example request
{
"advancedProperties": {
"max.batch.size": 10000
},
"agentId": "12345678-1234-1234-1234-123456789012",
"name": "A Streaming Pipeline",
"streamingSource": {
"connection": {
"host": "127.0.0.1",
"jdbcProperties": {
"date format": "ymd"
},
"password": {
"secretKey": "the-secret-key",
"secretLocation": "the-secret-location",
"secretName": "the-secret-name"
},
"port": 8471,
"username": "db2_streaming_user"
},
"tables": [
{
"schema": "SCHEMA_A",
"table": "TABLE_A"
}
]
},
"streamingTarget": {
"accountKey": {
"secretKey": "the-secret-key",
"secretLocation": "the-secret-location",
"secretName": "the-secret-name"
},
"accountName": "abs-account-name",
"container": "streaming-container",
"prefix": "streaming-prefix"
}
}Response
Successfully created the streaming pipeline definition
Example response
{
"advancedProperties": {
"max.batch.size": 10000
},
"agentId": "12345678-1234-1234-1234-123456789012",
"name": "A Streaming Pipeline",
"projectId": "12345678-1234-1234-1234-123456789012",
"streamingPipelineId": "12345678-1234-1234-1234-123456789012",
"streamingSource": {
"connection": {
"host": "127.0.0.1",
"jdbcProperties": {
"date format": "ymd"
},
"password": {
"secretKey": "the-secret-key",
"secretLocation": "the-secret-location",
"secretName": "the-secret-name"
},
"port": 8471,
"username": "db2_streaming_user"
},
"tables": [
{
"schema": "SCHEMA_A",
"table": "TABLE_A"
}
]
},
"streamingTarget": {
"accountKey": {
"secretKey": "the-secret-key",
"secretLocation": "the-secret-location",
"secretName": "the-secret-name"
},
"accountName": "abs-account-name",
"container": "streaming-container",
"prefix": "streaming-prefix"
}
}