You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ja...@apache.org on 2024/01/30 15:54:52 UTC
(camel) branch main updated: camel-kudu: Make component dependency doc consistent with other components
This is an automated email from the ASF dual-hosted git repository.
jamesnetherton pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/main by this push:
new c6150d00c0f camel-kudu: Make component dependency doc consistent with other components
c6150d00c0f is described below
commit c6150d00c0f6a66cc0ee76084c5bc2791626e344
Author: James Netherton <ja...@gmail.com>
AuthorDate: Tue Jan 30 15:23:21 2024 +0000
camel-kudu: Make component dependency doc consistent with other components
---
.../camel-kudu/src/main/docs/kudu-component.adoc | 33 +++++++++-------------
1 file changed, 13 insertions(+), 20 deletions(-)
diff --git a/components/camel-kudu/src/main/docs/kudu-component.adoc b/components/camel-kudu/src/main/docs/kudu-component.adoc
index 29a9238fcf0..278da10e750 100644
--- a/components/camel-kudu/src/main/docs/kudu-component.adoc
+++ b/components/camel-kudu/src/main/docs/kudu-component.adoc
@@ -16,6 +16,19 @@
The Kudu component supports storing and retrieving data from/to https://kudu.apache.org/[Apache Kudu], a free and open source column-oriented data store of the Apache Hadoop ecosystem.
+Maven users will need to add the following dependency to their `pom.xml`
+for this component:
+
+[source,xml]
+------------------------------------------------------------
+<dependency>
+ <groupId>org.apache.camel</groupId>
+ <artifactId>camel-kudu</artifactId>
+ <version>x.x.x</version>
+ <!-- use the same version as your Camel core version -->
+</dependency>
+------------------------------------------------------------
+
== Prerequisites
You must have a valid Kudu instance running. More information are available at https://kudu.apache.org/[Apache Kudu].
@@ -49,24 +62,4 @@ The input body format has to be a java.util.Map<String, Object>. This map will r
The output body format will be a java.util.List<java.util.Map<String, Object>>. Each element of the list will be a different row of the table. Each row is a Map<String, Object> whose elements will be each pair of column name and column value for that row.
-
-== Dependencies
-
-Maven users will need to add the following dependency to their pom.xml.
-
-*pom.xml*
-
-[source,xml]
----------------------------------------
-<dependency>
- <groupId>org.apache.camel</groupId>
- <artifactId>camel-kudu</artifactId>
- <version>${camel-version}</version>
-</dependency>
----------------------------------------
-
-where `$\{camel-version}` must be replaced by the actual version of Camel (3.0 or higher).
-
-
-
include::spring-boot:partial$starter.adoc[]