You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by GitBox <gi...@apache.org> on 2020/07/17 09:17:06 UTC

[GitHub] [camel-k-examples] oscerd commented on a change in pull request #23: Add a more complex example showing how to use a custom AWS Kinesis configuration

oscerd commented on a change in pull request #23:
URL: https://github.com/apache/camel-k-examples/pull/23#discussion_r456323564



##########
File path: 90-aws-kinesis-customized-event-source/aws-kinesis-source.yaml
##########
@@ -0,0 +1,40 @@
+#
+# Apache Camel AWS Kinesis Source
+#
+apiVersion: sources.knative.dev/v1alpha1
+kind: CamelSource
+metadata:
+  name: camel-aws-kinesis-source
+spec:
+  source:
+    integration:
+      configuration:
+        # What other types do we have?
+        - type: secret
+          value: aws-kinesis
+        - type: env
+          value: AWS_HOST=localstack:4568
+        - type: property
+          value: camel.component.aws-kinesis.configuration=#class:org.apache.camel.k.examples.CustomKinesisConfiguration
+      dependencies:
+        # Needed for the json part on the flow/steps below
+        - camel:jackson
+        # Needed for the component
+        - camel:camel-aws-kinesis
+        # Provides the custom Kinesis configuration
+        - mvn:org.apache.camel.k.examples/custom-kinesis-configuration:1.0.1

Review comment:
       Here you need to add also 
           - mvn:com.fasterxml.jackson.dataformat/jackson-dataformat-cbor/2.10.4
   Otherwise it will fail.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org