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/10/06 11:40:44 UTC

[camel-kafka-connector] branch main updated: Update try-it-out-locally.adoc

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-kafka-connector.git


The following commit(s) were added to refs/heads/main by this push:
     new 68449c8  Update try-it-out-locally.adoc
68449c8 is described below

commit 68449c80768dc4c570568bf9608a152ddbd74070
Author: duanasq <74...@users.noreply.github.com>
AuthorDate: Tue Oct 5 21:45:49 2021 +1100

    Update try-it-out-locally.adoc
    
    Mention how to build individual connectors only
---
 .../pages/user-guide/getting-started/try-it-out-locally.adoc  | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/docs/modules/ROOT/pages/user-guide/getting-started/try-it-out-locally.adoc b/docs/modules/ROOT/pages/user-guide/getting-started/try-it-out-locally.adoc
index 2d60b90..af0bda2 100644
--- a/docs/modules/ROOT/pages/user-guide/getting-started/try-it-out-locally.adoc
+++ b/docs/modules/ROOT/pages/user-guide/getting-started/try-it-out-locally.adoc
@@ -75,7 +75,16 @@ $KAFKA_HOME/bin/kafka-console-producer.sh --broker-list localhost:9092 --topic m
 [[Tryitoutlocally-TryExamples]]
 == Try some examples
 
-For the following examples you need to fetch the `camel-kafka-connector` project and https://github.com/apache/camel-kafka-connector/blob/master/README.adoc#build-the-project[build] it locally by running `./mvnw package` from the root of the project. Look into the `config` and `docs/examples` directories for the configuration files (`*.properties`) of the examples showcased here.
+For the following examples you need to fetch the `camel-kafka-connector` project and https://github.com/apache/camel-kafka-connector/blob/master/README.adoc#build-the-project[build] it locally. You can either build the entire project with `./mvnw package` from the root directory (which may take some time) or build just the connectors you are interested in with the following command from within a connector's directory.
+
+[source,bash]
+----
+> cd connectors/camel-log-kafka-connector/
+> mvn package -pl camel-timer-kafka-connector -am
+----
+
+
+Look into the `config` and `docs/examples` directories for the configuration files (`*.properties`) of the examples showcased here.
 
 [[Tryitoutlocally-SimpleLogger]]
 === Simple logger (sink)