Publish a GGSA pipeline
patch
https://{ggsa_host}:{ggsa_port}/{context_path}/services/{version}/pipelines/{id}/publish
Publish a GGSA pipeline
Request
Path Parameters
-
id(required): string
Pipeline id
-
version(required): string
GGSA API versionExample:
v1
Supported Media Types
- application/json
Runtime parameters for the Pipeline.
Root Schema : schema
Type:
Show Source
object
-
batchDuration: integer
(int64)
Default Value:
1000
Batch duration (millisecond) of streaming job for the pipeline. -
driverCores: integer
(int32)
Minimum Value:
1
Default Value:1
The number of cores per driver for the pipeline execution. -
driverMemory: integer
(int64)
Minimum Value:
800
Default Value:1800
Memory per driver instance for the pipeline execution. -
enableCheckPointing: boolean
Turns HA on/off for the pipeline.
-
enableIntermediateTopic: boolean
Pipeline Intermediate Topic Setting.
-
exectorCores: integer
(int32)
Minimum Value:
2
Default Value:2
The number of cores per executor for the pipeline execution. -
executorInstance: integer
(int32)
Minimum Value:
1
The number of executors for the pipeline execution. -
executorMemory: integer
(int64)
Minimum Value:
800
Default Value:1500
Memory per executor instance for the pipeline execution. -
intermediateTopicRetentionPeriod: integer
(int64)
Default Value:
3600000
The Pipeline Topic Retention Period (in milliseconds). -
logLevel: string
Default Value:
Info
Allowed Values:[ "Debug, Info, Warning, Error" ]
Logging level for pipeline execution logs. -
resetOffset: boolean
Default Value:
false
Input topics offset hard reset value. -
topicOffset: string
Default Value:
latest
Allowed Values:[ "latest, earliest" ]
Topic Offset Position.
Response
Supported Media Types
- application/json
200 Response
Successfully published the pipeline.
Root Schema : PipelineDetail
Type:
Show Source
object
-
createdAt: string
(date-time)
Creation time of GGSA Pipeline.
-
createdBy: string
Author of the GGSA Pipeline.
-
description: string
GGSA Pipeline Description.
-
displayName: string
GGSA Pipeline Display Name.
-
id: string
GGSA Pipeline ID.
-
name: string
GGSA Pipeline Name.
-
published: boolean
GGSA Pipeline Publish Flag.
-
tagNames: array
tagnames
List of tags defined for the GGSA Pipeline.
Nested Schema : tagnames
Type:
array
List of tags defined for the GGSA Pipeline.
Show Source
-
Array of:
string
List of tags defined for the GGSA Pipeline.
404 Response
pipeline id not found.
409 Response
Incorrect state / conflict.