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/01/11 12:40:32 UTC
[camel-kafka-connector-examples] 03/04: Zip Aggregation on AWS2-S3
example: Fixed naming of camel.beans.aggregation options to
camel.aggregation
This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch aws2-s3-sink-aggr
in repository https://gitbox.apache.org/repos/asf/camel-kafka-connector-examples.git
commit 66e4b1f0fcd1dbcf210b6474b6df4001d511471b
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Mon Jan 11 13:38:13 2021 +0100
Zip Aggregation on AWS2-S3 example: Fixed naming of camel.beans.aggregation options to camel.aggregation
---
aws2-s3/aws2-s3-sink-with-zip-aggregation/README.adoc | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/aws2-s3/aws2-s3-sink-with-zip-aggregation/README.adoc b/aws2-s3/aws2-s3-sink-with-zip-aggregation/README.adoc
index d7ce50b..0ecb70b 100644
--- a/aws2-s3/aws2-s3-sink-with-zip-aggregation/README.adoc
+++ b/aws2-s3/aws2-s3-sink-with-zip-aggregation/README.adoc
@@ -148,8 +148,8 @@ camel.component.aws2-s3.region=eu-west-1
camel.sink.endpoint.keyName=${date:now:yyyyMMdd-HHmmssSSS}-${exchangeId}.zip
camel.beans.aggregate=#class:org.apache.camel.processor.aggregate.zipfile.ZipAggregationStrategy
-camel.beans.aggregation.size=10
-camel.beans.aggregation.timeout=5000
+camel.aggregation.size=10
+camel.aggregation.timeout=5000
```
and add the correct credentials for AWS.
@@ -417,8 +417,8 @@ oc exec -i `oc get pods --field-selector status.phase=Running -l strimzi.io/name
"camel.sink.path.bucketNameOrArn": "camel-kafka-connector",
"camel.sink.endpoint.keyName": "${date:now:yyyyMMdd-HHmmssSSS}-${exchangeId}.zip",
"camel.beans.aggregate": "#class:org.apache.camel.processor.aggregate.zipfile.ZipAggregationStrategy",
- "camel.beans.aggregation.size": "10",
- "camel.beans.aggregation.timeout": "5000",
+ "camel.aggregation.size": "10",
+ "camel.aggregation.timeout": "5000",
"camel.component.aws2-s3.accessKey": "xxx",
"camel.component.aws2-s3.secretKey": "xxx",
"camel.component.aws2-s3.region": "xxx"
@@ -449,8 +449,8 @@ spec:
camel.sink.path.bucketNameOrArn: camel-kafka-connector
camel.sink.endpoint.keyName: ${date:now:yyyyMMdd-HHmmssSSS}-${exchangeId}.zip
camel.beans.aggregate: #class:org.apache.camel.processor.aggregate.zipfile.ZipAggregationStrategy
- camel.beans.aggregation.size: 10
- camel.beans.aggregation.timeout: 5000
+ camel.aggregation.size: 10
+ camel.aggregation.timeout: 5000
camel.component.aws2-s3.accessKey: xxxx
camel.component.aws2-s3.secretKey: yyyy
camel.component.aws2-s3.region: region