apiVersion: camel.apache.org/v1alpha1
kind: KameletBinding
metadata:
name: timer-to-kafka
spec:
source:
ref:
kind: Kamelet
apiVersion: camel.apache.org/v1alpha1
name: timer-source
properties:
period: "10000"
message: 'msg'
steps:
- ref:
kind: Kamelet
apiVersion: camel.apache.org/v1alpha1
name: insert-header-action
properties:
name: "foo"
value: "The Value"
sink:
ref:
kind: Kamelet
apiVersion: camel.apache.org/v1alpha1
name: kafka-sink
properties:
bootstrapServers: "my-cluster-kafka-bootstrap.myproject.svc:9092"
password: "XXX"
topic: "my-topic"
user: "XXX"
securityProtocol: "PLAINTEXT"
apiVersion: camel.apache.org/v1alpha1
kind: KameletBinding
metadata:
name: timer-to-kafka
spec:
source:
ref:
kind: Kamelet
apiVersion: camel.apache.org/v1alpha1
name: timer-source
properties:
period: "10000"
message: 'msg'
steps:
- ref:
kind: Kamelet
apiVersion: camel.apache.org/v1alpha1
name: insert-header-action
properties:
name: "foo"
value: "The Value"
sink:
ref:
kind: Kamelet
apiVersion: camel.apache.org/v1alpha1
name: kafka-sink
properties:
bootstrapServers: "my-cluster-kafka-bootstrap.myproject.svc:9092"
password: "XXX"
topic: "my-topic"
user: "XXX"
securityProtocol: "PLAINTEXT"
Copy to Clipboard
Copied!
Toggle word wrap
Toggle overflow