Skip to content

Instantly share code, notes, and snippets.

@danielezonca
Created September 15, 2022 13:02
Show Gist options
  • Save danielezonca/50c5ad3d237400a4ab6594cb0bee0839 to your computer and use it in GitHub Desktop.
Save danielezonca/50c5ad3d237400a4ab6594cb0bee0839 to your computer and use it in GitHub Desktop.
- kind: bridge
metadata:
name: my-bridge
- kind: source
metadata:
name: source-name
bridge_id: c64kfqla5bkhm18frpdg
connector_type_id: slack_source_0.1
connector_spec:
connector:
slack_channel: channel
slack_webhook_url: webhook_url
- kind: sink
metadata:
name: sink-name
bridge_id: c64kfqla5bkhm18frpdg
connector_type_id: slack_sink_0.1
connector_spec:
connector:
slack_channel: channel
slack_webhook_url: webhook_url
- kind: Processor
metadata:
name: processor-name
bridge_id: c64kfqla5bkhm18frpdg
flow:
- from:
uri: rhose:bridge
parameters:
filter:
source: StorageService
steps:
- kamelet:
name: template
parameters:
template: '{"text": "hello {data.name} by {id}"}'
- to:
uri: sink:sink-name
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment