argo-workflow

command module
v0.0.0-...-65af787 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 6, 2024 License: Apache-2.0 Imports: 20 Imported by: 0

README

Argo Workflow User define Sink

This Sink will create Argo workflow with every event. Event content will be pass as workflow parameter to workflow. User can define their workflow define as workflowtemplate and configure the workflowtemplate name in env. This sink supports caching and dedupe triggered event. you can define the dedup keys, cache size, cache life.

Environment Variables

ARGO_WORKFLOW_TEMPLATE   : Argo WorkflowTemplate name 
WORKFLOW_NAMESPACE       : Namespace 
PARAMETER_NAME           : Parameter name for event content
WORKFLOW_SERVICE_ACCOUNT : Workflow Service Account
MSG_DEDUP_KEYS           : Message dedup keys
DEDUP_CACHE_LIMIT        : Cache Size
DEDUP_CACHE_TTL_DURATION : TTL for each element in cache
READ_INTERVAL_DURATION   : Workflow Triggering interval
WORKFLOW_NAME_PREFIX     : Workflow Name prefix
Example Configuration
  - name: training-workflow
    sink:
      udsink:
        container:
          env:
            - name: ARGO_WORKFLOW_TEMPLATE
              value: <WorkflowTemplate Name>
            - name: PARAMETER_NAME
              value: "payload"
            - name: MSG_DEDUP_KEYS
              value: ".namespace,.metric"
            - name: READ_INTERVAL_DURATION
              value: "1s"
            - name: DEDUP_CACHE_LIMIT
              value: "10000"
            - name: DEDUP_CACHE_TTL_DURATION
              value: "30m"
          image: quay.io/numaio/numaflow-sink/argo-workflow:latest

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
shared

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL