Skip to main content
The Managed Bucket Sink command (Command Type: 1203) writes job data directly to the LSports-managed GCS bucket. The bucket and key structure are fixed — no caller configuration is required for the destination path. Key structure: {tenantId}/{projectId}/{stepId}/{itemId}/{YYYY}/{MM}/{DD}/{HH}/{runId}.json[.gz]

Command Type

Command Type ID: 1203

Parameters

ParameterTypeDescriptionRequired
compressbooleanWhen true, gzip-compresses the payload before upload. Key uses .json.gz extension and ContentType is set to application/gzipNo

Usage Examples

Write to Managed Bucket

{
  "command": "managed-bucket-sink",
  "params": {}
}

Write Compressed

{
  "command": "managed-bucket-sink",
  "params": {
    "compress": true
  }
}

Common Use Cases

  • Managed Storage: Offload storage concerns — bucket credentials and key structure are handled automatically
  • Audit Trail: Deterministic key structure makes data easy to locate by tenant, project, step, and run