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:20 UTC

[camel-performance-tests] branch azure-prop created (now 7d48fa0)

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

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


      at 7d48fa0  Kafka Azure Storage Profiling Example: Updated README

This branch includes the following new commits:

     new 3347c24  Kafka Azure Storage Blob Example: Use application.properties to fill Kamelet parameters
     new 7d48fa0  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.


[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 azure-prop
in repository https://gitbox.apache.org/repos/asf/camel-performance-tests.git

commit 3347c2426c07aa9ab8ef10e6f251eb81e8c50c63
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"
 

[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 azure-prop
in repository https://gitbox.apache.org/repos/asf/camel-performance-tests.git

commit 7d48fa0c61956d8b12f9b6be86545f8d07922a1e
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