You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2021/04/02 12:49:33 UTC

[camel-kamelets] 04/04: Added AWS Kinesis Firehose Sink Kamelet

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

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

commit 6208bee0ee2bd5b6bf3f6ae1ad6cd7db26796a7d
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Fri Apr 2 14:48:35 2021 +0200

    Added AWS Kinesis Firehose Sink Kamelet
---
 .../images/kamelets/aws-kinesis-firehose-sink.svg  |  1 +
 .../ROOT/pages/aws-kinesis-firehose-sink.adoc      | 66 ++++++++++++++++++++++
 2 files changed, 67 insertions(+)

diff --git a/docs/modules/ROOT/assets/images/kamelets/aws-kinesis-firehose-sink.svg b/docs/modules/ROOT/assets/images/kamelets/aws-kinesis-firehose-sink.svg
new file mode 100644
index 0000000..be6db90
--- /dev/null
+++ b/docs/modules/ROOT/assets/images/kamelets/aws-kinesis-firehose-sink.svg
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 85 85" fill="#fff" fill-rule="evenodd" stroke="#000" stroke-linecap="round" stroke-linejoin="round"><use xlink:href="#A" x="2.5" y="2.5"/><symbol id="A" overflow="visible"><g stroke="none"><path d="M13.766 3.12h52.468c3.651 0 7.152 1.363 9.734 3.788S80 12.624 80 16.054v21.698c-2.717-1.319-8.664-2.723-17.464-2.723-3.37-.013-6.737.224-10.068.709-5.932.922-9.057 2.51-9.057 3.489v36.873c0 .61.891  [...]
\ No newline at end of file
diff --git a/docs/modules/ROOT/pages/aws-kinesis-firehose-sink.adoc b/docs/modules/ROOT/pages/aws-kinesis-firehose-sink.adoc
new file mode 100644
index 0000000..8187b9b
--- /dev/null
+++ b/docs/modules/ROOT/pages/aws-kinesis-firehose-sink.adoc
@@ -0,0 +1,66 @@
+// THIS FILE IS AUTOMATICALLY GENERATED: DO NOT EDIT
+= image:kamelets/aws-kinesis-firehose-sink.svg[] AWS Kinesis Firehose Sink
+
+*Provided by: "Apache Software Foundation"*
+
+Send message to an AWS Kinesis Firehose Stream
+
+== Configuration Options
+
+The following table summarizes the configuration options available for the `aws-kinesis-firehose-sink` Kamelet:
+[width="100%",cols="2,^2,3,^2,^2,^3",options="header"]
+|===
+| Property| Name| Description| Type| Default| Example
+| *accessKey {empty}* *| Access Key| The access key obtained from AWS| string| | 
+| *region {empty}* *| AWS Region| The AWS region to connect to| string| | `"eu-west-1"`
+| *secretKey {empty}* *| Secret Key| The secret key obtained from AWS| string| | 
+| *streamName {empty}* *| Stream name| The name of the stream we want to send to data to| string| | 
+|===
+
+NOTE: Fields marked with ({empty}*) are mandatory.
+
+== Usage
+
+This section summarizes how the `aws-kinesis-firehose-sink` can be used in various contexts.
+
+=== Knative Sink
+
+The `aws-kinesis-firehose-sink` Kamelet can be used as Knative sink by binding it to a Knative object.
+
+.aws-kinesis-firehose-sink-binding.yaml
+[source,yaml]
+----
+apiVersion: camel.apache.org/v1alpha1
+kind: KameletBinding
+metadata:
+  name: aws-kinesis-firehose-sink-binding
+spec:
+  source:
+    ref:
+      kind: InMemoryChannel
+      apiVersion: messaging.knative.dev/v1
+      name: mychannel
+  sink:
+    ref:
+      kind: Kamelet
+      apiVersion: camel.apache.org/v1alpha1
+      name: aws-kinesis-firehose-sink
+    properties:
+      accessKey: "The Access Key"
+      region: "eu-west-1"
+      secretKey: "The Secret Key"
+      streamName: "The Stream name"
+
+----
+
+Make sure you have xref:latest@camel-k::installation/installation.adoc[Camel K installed] into the Kubernetes cluster you're connected to.
+
+Save the `aws-kinesis-firehose-sink-binding.yaml` file into your hard drive, then configure it according to your needs.
+
+You can run the sink using the following command:
+
+[source,shell]
+----
+kubectl apply -f aws-kinesis-firehose-sink-binding.yaml
+----
+// THIS FILE IS AUTOMATICALLY GENERATED: DO NOT EDIT