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 2023/10/11 09:49:43 UTC
[camel-kamelets-examples] branch main updated: Azure Schema Registry Example: Align docs to show the working example with Camel 4.x (#35)
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-kamelets-examples.git
The following commit(s) were added to refs/heads/main by this push:
new 713833f Azure Schema Registry Example: Align docs to show the working example with Camel 4.x (#35)
713833f is described below
commit 713833f08a53884bcb9b3018574d6825a5c4c1af
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Wed Oct 11 11:49:36 2023 +0200
Azure Schema Registry Example: Align docs to show the working example with Camel 4.x (#35)
Signed-off-by: Andrea Cosentino <an...@gmail.com>
---
jbang/azure-eventhubs-kafka-azure-schema-registry/README.md | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/jbang/azure-eventhubs-kafka-azure-schema-registry/README.md b/jbang/azure-eventhubs-kafka-azure-schema-registry/README.md
index d12271d..53ed25e 100644
--- a/jbang/azure-eventhubs-kafka-azure-schema-registry/README.md
+++ b/jbang/azure-eventhubs-kafka-azure-schema-registry/README.md
@@ -54,13 +54,11 @@ mvn clean install
```
then run:
```bash
-camel run kafka-log.yaml camel-kafka-3.22.0.jar --properties application.properties
+camel run kafka-log.yaml
```
-> At the time of writing, there was a [problem](https://github.com/apache/camel-kamelets-examples/issues/21#issuecomment-1732603257) running this example with camel-kafka-4.0.0 so the example was developed using version 3.22.0, which can be found [here](https://repository.apache.org/content/groups/snapshots/org/apache/camel/camel-kafka/3.22.0-SNAPSHOT/)
To run the example without JBang, but e.g. Spring Boot, You can export the route:
```bash
camel export application.properties kafka-log.yaml --runtime=spring-boot --directory=code --gav com.acme.example:azure-sr:1.0.0
```
And run as a regular Spring Boot application.
-> Using this approach, camel-kafka-4.0.0 works, and no dependencies need to be modified.