This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-kamelets.git

commit 3dfc23bd02c2f4a998f0d66bcf1a3e1da8fc7c97
Author: Andrea Cosentino <[email protected]>
AuthorDate: Mon May 24 11:37:55 2021 +0200

    Added NATS Sink Kamelet to catalog
---
 .../main/resources/kamelets/nats-sink.kamelet.yaml | 39 ++++++++++++++++++++++
 1 file changed, 39 insertions(+)

diff --git 
a/library/camel-kamelets-catalog/src/main/resources/kamelets/nats-sink.kamelet.yaml
 
b/library/camel-kamelets-catalog/src/main/resources/kamelets/nats-sink.kamelet.yaml
new file mode 100644
index 0000000..3728fe6
--- /dev/null
+++ 
b/library/camel-kamelets-catalog/src/main/resources/kamelets/nats-sink.kamelet.yaml
@@ -0,0 +1,39 @@
+apiVersion: camel.apache.org/v1alpha1
+kind: Kamelet
+metadata:
+  name: nats-sink
+  annotations:
+    camel.apache.org/kamelet.icon: 
"data:image/svg+xml;base64,PHN2ZyBpZD0iTGF5ZXJfMSIgZGF0YS1uYW1lPSJMYXllciAxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI3NDQuMiIgaGVpZ2h0PSIxODEuODEiIHZpZXdCb3g9IjAgMCA3NDQuMiAxODEuODEiPjxkZWZzPjxzdHlsZT4uY2xzLTF7ZmlsbDojMjlhOWRlO30uY2xzLTJ7ZmlsbDojZmZmO30uY2xzLTN7ZmlsbDojMzNhNjc1O30uY2xzLTR7ZmlsbDojMzY1YzkzO30uY2xzLTV7ZmlsbDojOGRjMzQxO308L3N0eWxlPjwvZGVmcz48dGl0bGU+bmF0cy1sb2dvLWZyZWVsb2dvdmVjdG9ycy5uZXQ8L3RpdGxlPjxwYXRoIGNsYXNzPSJjbHMtMS
 [...]
+    camel.apache.org/provider: "Apache Software Foundation"
+    camel.apache.org/kamelet.group: "NATS"
+  labels:
+    camel.apache.org/kamelet.type: "sink"
+spec:
+  definition:
+    title: "NATS Source"
+    description: |-
+      Send data to NATS topics.
+    required:
+      - topic
+      - servers
+    type: object
+    properties:
+      topic:
+        title: Topic
+        description: NATS Topic name
+        type: string
+      servers:
+        title: Servers
+        description: Comma separated list of NATS Servers
+        type: string
+  dependencies:
+  - "camel:nats"
+  - "camel:kamelet"
+  flow:
+    from:
+      uri: "kamelet:source"
+      steps:
+      - to:
+          uri: "nats:{{topic}}"
+          parameters:
+            servers: "{{servers}}"

Reply via email to