orpiske commented on a change in pull request #23:
URL: https://github.com/apache/camel-k-examples/pull/23#discussion_r456324503
##########
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:
In this case it is not needed because the custom client is specifically
disabling cbor.
```System.setProperty("com.amazonaws.sdk.disableCbor", "true");```
Maybe I should add a comment about this?
----------------------------------------------------------------
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:
[email protected]