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 <[email protected]> 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"
