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/11/05 08:14:37 UTC

[camel-performance-tests] branch main updated (a01a8ba -> 6b49489)

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

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


    from a01a8ba  Kafka to Azure Storage Blob with exchange pooling - added pooling properties
     new a9f74ce  Kafka Azure Storage Blob Example: Use application.properties to fill Kamelet parameters
     new 6b49489  Kafka Azure Storage Profiling Example: Updated README

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 profiling/kafka-azure-storage-blob/README.md               |  2 +-
 .../kafka-azure-storage-blob/data/application.properties   | 14 ++++++++++++++
 .../kafka-azure-storage-blob/data/sources/routes.yaml      |  7 -------
 3 files changed, 15 insertions(+), 8 deletions(-)

[camel-performance-tests] 02/02: Kafka Azure Storage Profiling Example: Updated README

Posted by ac...@apache.org.
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-performance-tests.git

commit 6b49489fcd3feaa0a94f6762d68c6e4af2a31d0c
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Fri Nov 5 09:13:32 2021 +0100

    Kafka Azure Storage Profiling Example: Updated README
---
 profiling/kafka-azure-storage-blob/README.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/profiling/kafka-azure-storage-blob/README.md b/profiling/kafka-azure-storage-blob/README.md
index 2305c80..c1cf0d4 100644
--- a/profiling/kafka-azure-storage-blob/README.md
+++ b/profiling/kafka-azure-storage-blob/README.md
@@ -1,6 +1,6 @@
 # Kafka to Azure Storage Blob
 
-In the routes.yaml file, set correctly the Azure credentials for storage blob.
+In the application.properties file, set correctly the Azure credentials for storage blob.
 
 Also you'll need to run a Kafka cluster to point to. In this case you could use an ansible role like https://github.com/oscerd/kafka-ansible-role
 

[camel-performance-tests] 01/02: Kafka Azure Storage Blob Example: Use application.properties to fill Kamelet parameters

Posted by ac...@apache.org.
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-performance-tests.git

commit a9f74ce06f004861480376688c5d3e0ee6a7af57
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Fri Nov 5 09:12:49 2021 +0100

    Kafka Azure Storage Blob Example: Use application.properties to fill Kamelet parameters
---
 .../kafka-azure-storage-blob/data/application.properties   | 14 ++++++++++++++
 .../kafka-azure-storage-blob/data/sources/routes.yaml      |  7 -------
 2 files changed, 14 insertions(+), 7 deletions(-)

diff --git a/profiling/kafka-azure-storage-blob/data/application.properties b/profiling/kafka-azure-storage-blob/data/application.properties
index f725784..655ab42 100644
--- a/profiling/kafka-azure-storage-blob/data/application.properties
+++ b/profiling/kafka-azure-storage-blob/data/application.properties
@@ -28,3 +28,17 @@ camel.main.stream-caching-spool-directory = ${java.io.tmpdir}/camel-q
 camel.k.sources[0].location = file:/etc/camel/sources/routes.yaml
 camel.k.sources[0].type     = source
 
+
+#
+# Azure Storage Blob properties
+#
+camel.kamelet.azure-storage-blob-sink.containerName = containerName
+camel.kamelet.azure-storage-blob-sink.accessKey     = accessKey
+camel.kamelet.azure-storage-blob-sink.accountName   = accountName
+
+#
+# Kafka properties
+#
+camel.kamelet.kafka-not-secured-source.brokers = localhost:9092
+camel.kamelet.kafka-not-secured-source.topic   = testtopic
+
diff --git a/profiling/kafka-azure-storage-blob/data/sources/routes.yaml b/profiling/kafka-azure-storage-blob/data/sources/routes.yaml
index e813717..1905dfe 100644
--- a/profiling/kafka-azure-storage-blob/data/sources/routes.yaml
+++ b/profiling/kafka-azure-storage-blob/data/sources/routes.yaml
@@ -18,14 +18,7 @@
 - route:
     from: 
       uri: "kamelet:kafka-not-secured-source"
-      parameters:
-        brokers: "localhost:9092"
-        topic: "testtopic"
     steps:
       - to: 
           uri: "kamelet:azure-storage-blob-sink"
-          parameters:
-            containerName: "container"
-            accessKey: "accessKey"
-            accountName: "account"