You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by pp...@apache.org on 2020/10/13 07:56:08 UTC
[camel-quarkus] branch master updated: HBase JVM support
This is an automated email from the ASF dual-hosted git repository.
ppalaga pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git
The following commit(s) were added to refs/heads/master by this push:
new ae9abc4 HBase JVM support
ae9abc4 is described below
commit ae9abc4302c271b6f52647256a3168fea41f1ad4
Author: Peter Palaga <pp...@redhat.com>
AuthorDate: Mon Oct 12 10:36:00 2020 +0200
HBase JVM support
---
catalog/pom.xml | 13 ++
.../ROOT/pages/reference/extensions/hbase.adoc | 33 ++++
.../ROOT/partials/reference/components/hbase.adoc | 14 +-
extensions-jvm/hbase/deployment/pom.xml | 71 +++++++++
.../component/hbase/deployment/HbaseProcessor.java | 70 +++++++++
extensions-jvm/hbase/integration-test/pom.xml | 166 +++++++++++++++++++++
.../quarkus/component/hbase/it/HbaseResource.java | 71 +++++++++
.../src/main/resources/hbase-site.xml | 134 +++++++++++++++++
.../component/hbase/it/HBaseTestResource.java | 57 +++++++
.../quarkus/component/hbase/it/HbaseTest.java | 84 +++++++++++
extensions-jvm/hbase/pom.xml | 40 +++++
extensions-jvm/hbase/runtime/pom.xml | 107 +++++++++++++
.../component/hbase/GroupsSubstitutions.java | 42 ++++++
.../main/resources/META-INF/quarkus-extension.yaml | 32 ++++
extensions-jvm/pom.xml | 1 +
pom.xml | 9 ++
poms/bom-test/pom.xml | 16 ++
poms/bom/pom.xml | 45 ++++++
18 files changed, 1004 insertions(+), 1 deletion(-)
diff --git a/catalog/pom.xml b/catalog/pom.xml
index 5aefaed..5637cf5 100644
--- a/catalog/pom.xml
+++ b/catalog/pom.xml
@@ -1726,6 +1726,19 @@
</dependency>
<dependency>
<groupId>org.apache.camel.quarkus</groupId>
+ <artifactId>camel-quarkus-hbase</artifactId>
+ <version>${project.version}</version>
+ <type>pom</type>
+ <scope>test</scope>
+ <exclusions>
+ <exclusion>
+ <groupId>*</groupId>
+ <artifactId>*</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.camel.quarkus</groupId>
<artifactId>camel-quarkus-hdfs</artifactId>
<version>${project.version}</version>
<type>pom</type>
diff --git a/docs/modules/ROOT/pages/reference/extensions/hbase.adoc b/docs/modules/ROOT/pages/reference/extensions/hbase.adoc
new file mode 100644
index 0000000..fb5e3ca
--- /dev/null
+++ b/docs/modules/ROOT/pages/reference/extensions/hbase.adoc
@@ -0,0 +1,33 @@
+// Do not edit directly!
+// This file was generated by camel-quarkus-maven-plugin:update-extension-doc-page
+= HBase
+:cq-artifact-id: camel-quarkus-hbase
+:cq-native-supported: false
+:cq-status: Preview
+:cq-description: Reading and write from/to an HBase store (Hadoop database).
+:cq-deprecated: false
+:cq-jvm-since: 1.2.0
+:cq-native-since: n/a
+
+[.badges]
+[.badge-key]##JVM since##[.badge-supported]##1.2.0## [.badge-key]##Native##[.badge-unsupported]##unsupported##
+
+Reading and write from/to an HBase store (Hadoop database).
+
+== What's inside
+
+* https://camel.apache.org/components/latest/hbase-component.html[HBase component], URI syntax: `hbase:tableName`
+
+Please refer to the above link for usage and configuration details.
+
+== Maven coordinates
+
+[source,xml]
+----
+<dependency>
+ <groupId>org.apache.camel.quarkus</groupId>
+ <artifactId>camel-quarkus-hbase</artifactId>
+</dependency>
+----
+
+Check the xref:user-guide/index.adoc[User guide] for more information about writing Camel Quarkus applications.
diff --git a/docs/modules/ROOT/partials/reference/components/hbase.adoc b/docs/modules/ROOT/partials/reference/components/hbase.adoc
index a509c1d..4eb3579 100644
--- a/docs/modules/ROOT/partials/reference/components/hbase.adoc
+++ b/docs/modules/ROOT/partials/reference/components/hbase.adoc
@@ -1 +1,13 @@
-// Empty partial for a Camel bit unsupported by Camel Quarkus to avoid warnings when this file is included from a Camel page
+// Do not edit directly!
+// This file was generated by camel-quarkus-maven-plugin:update-extension-doc-page
+:cq-artifact-id: camel-quarkus-hbase
+:cq-artifact-id-base: hbase
+:cq-native-supported: false
+:cq-status: Preview
+:cq-deprecated: false
+:cq-jvm-since: 1.2.0
+:cq-native-since: n/a
+:cq-camel-part-name: hbase
+:cq-camel-part-title: HBase
+:cq-camel-part-description: Reading and write from/to an HBase store (Hadoop database).
+:cq-extension-page-title: HBase
diff --git a/extensions-jvm/hbase/deployment/pom.xml b/extensions-jvm/hbase/deployment/pom.xml
new file mode 100644
index 0000000..fe092b8
--- /dev/null
+++ b/extensions-jvm/hbase/deployment/pom.xml
@@ -0,0 +1,71 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+-->
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <groupId>org.apache.camel.quarkus</groupId>
+ <artifactId>camel-quarkus-hbase-parent</artifactId>
+ <version>1.2.0-SNAPSHOT</version>
+ <relativePath>../pom.xml</relativePath>
+ </parent>
+
+ <artifactId>camel-quarkus-hbase-deployment</artifactId>
+ <name>Camel Quarkus :: HBase :: Deployment</name>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.camel.quarkus</groupId>
+ <artifactId>camel-quarkus-core-deployment</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.camel.quarkus</groupId>
+ <artifactId>camel-quarkus-support-commons-logging-deployment</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>io.quarkus</groupId>
+ <artifactId>quarkus-jaxp-deployment</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.camel.quarkus</groupId>
+ <artifactId>camel-quarkus-hbase</artifactId>
+ </dependency>
+ </dependencies>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <configuration>
+ <annotationProcessorPaths>
+ <path>
+ <groupId>io.quarkus</groupId>
+ <artifactId>quarkus-extension-processor</artifactId>
+ <version>${quarkus.version}</version>
+ </path>
+ </annotationProcessorPaths>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+
+</project>
diff --git a/extensions-jvm/hbase/deployment/src/main/java/org/apache/camel/quarkus/component/hbase/deployment/HbaseProcessor.java b/extensions-jvm/hbase/deployment/src/main/java/org/apache/camel/quarkus/component/hbase/deployment/HbaseProcessor.java
new file mode 100644
index 0000000..fd33ccb
--- /dev/null
+++ b/extensions-jvm/hbase/deployment/src/main/java/org/apache/camel/quarkus/component/hbase/deployment/HbaseProcessor.java
@@ -0,0 +1,70 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.quarkus.component.hbase.deployment;
+
+import java.util.stream.Stream;
+
+import io.quarkus.deployment.annotations.BuildProducer;
+import io.quarkus.deployment.annotations.BuildStep;
+import io.quarkus.deployment.builditem.FeatureBuildItem;
+import io.quarkus.deployment.builditem.nativeimage.NativeImageResourceBuildItem;
+import io.quarkus.deployment.builditem.nativeimage.ReflectiveClassBuildItem;
+import io.quarkus.deployment.builditem.nativeimage.RuntimeInitializedClassBuildItem;
+import org.apache.hadoop.hbase.client.backoff.ClientBackoffPolicyFactory.NoBackoffPolicy;
+import org.apache.hadoop.hbase.security.UserProvider;
+import org.apache.hadoop.security.JniBasedUnixGroupsMapping;
+
+class HbaseProcessor {
+
+ private static final String FEATURE = "camel-hbase";
+
+ @BuildStep
+ FeatureBuildItem feature() {
+ return new FeatureBuildItem(FEATURE);
+ }
+
+ @BuildStep
+ void initAtRuntime(BuildProducer<RuntimeInitializedClassBuildItem> runtimeInitializedClasses) {
+ runtimeInitializedClasses.produce(new RuntimeInitializedClassBuildItem(JniBasedUnixGroupsMapping.class.getName()));
+ }
+
+ @BuildStep
+ void nativeResources(BuildProducer<NativeImageResourceBuildItem> nativeResources) {
+ Stream.of("core-default.xml", "core-site.xml", "hbase-default.xml", "hbase-site.xml")
+ .map(NativeImageResourceBuildItem::new)
+ .forEach(nativeResources::produce);
+ }
+
+ @BuildStep
+ void refelectiveClasses(BuildProducer<ReflectiveClassBuildItem> refelectiveClasses) {
+ refelectiveClasses.produce(new ReflectiveClassBuildItem(false, false,
+ UserProvider.class.getName(),
+ "org.apache.hadoop.hbase.client.ConnectionImplementation",
+ NoBackoffPolicy.class.getName(),
+ "org.apache.hadoop.hbase.client.SimpleRequestController",
+ "org.apache.hadoop.hbase.client.ClusterStatusListener$MulticastListener",
+ "org.apache.hadoop.hbase.client.ZKAsyncRegistry",
+ "org.apache.hadoop.hbase.ipc.NettyRpcClient",
+ "org.apache.zookeeper.ClientCnxnSocketNIO",
+ "org.apache.hadoop.hbase.codec.KeyValueCodec",
+ "sun.security.provider.ConfigFile"));
+ refelectiveClasses.produce(new ReflectiveClassBuildItem(true, false,
+ "com.sun.security.auth.module.UnixLoginModule",
+ "org.apache.hadoop.security.UserGroupInformation$HadoopLoginModule"));
+ }
+
+}
diff --git a/extensions-jvm/hbase/integration-test/pom.xml b/extensions-jvm/hbase/integration-test/pom.xml
new file mode 100644
index 0000000..63f7e35
--- /dev/null
+++ b/extensions-jvm/hbase/integration-test/pom.xml
@@ -0,0 +1,166 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+-->
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <groupId>org.apache.camel.quarkus</groupId>
+ <artifactId>camel-quarkus-build-parent-it</artifactId>
+ <version>1.2.0-SNAPSHOT</version>
+ <relativePath>../../../poms/build-parent-it/pom.xml</relativePath>
+ </parent>
+
+ <artifactId>camel-quarkus-hbase-integration-test</artifactId>
+ <name>Camel Quarkus :: HBase :: Integration Test</name>
+ <description>Integration tests for Camel Quarkus HBase extension</description>
+
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.camel.quarkus</groupId>
+ <artifactId>camel-quarkus-bom-test</artifactId>
+ <version>${project.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+
+ <!-- Converge the mess in the transitive dependencies of hbase-testing-util -->
+ <!-- It is kept here in the test module, because all these are only test dependencies; otherwise they'd belong to the BOM -->
+ <dependency>
+ <groupId>commons-logging</groupId>
+ <artifactId>commons-logging</artifactId>
+ <version>${commons-logging.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.commons</groupId>
+ <artifactId>commons-math3</artifactId>
+ <version>${commons-math3.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.codehaus.jackson</groupId>
+ <artifactId>jackson-core-asl</artifactId>
+ <version>${jackson-asl.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.codehaus.jackson</groupId>
+ <artifactId>jackson-jaxrs</artifactId>
+ <version>${jackson-asl.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.codehaus.jackson</groupId>
+ <artifactId>jackson-mapper-asl</artifactId>
+ <version>${jackson-asl.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.codehaus.jackson</groupId>
+ <artifactId>jackson-xc</artifactId>
+ <version>${jackson-asl.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-log4j12</artifactId>
+ <version>${slf4j-log4j12.version}</version>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.camel.quarkus</groupId>
+ <artifactId>camel-quarkus-hbase</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.camel.quarkus</groupId>
+ <artifactId>camel-quarkus-main</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>io.quarkus</groupId>
+ <artifactId>quarkus-resteasy</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>io.quarkus</groupId>
+ <artifactId>quarkus-resteasy-jackson</artifactId>
+ </dependency>
+
+ <!-- test dependencies -->
+ <dependency>
+ <groupId>io.quarkus</groupId>
+ <artifactId>quarkus-junit5</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>io.rest-assured</groupId>
+ <artifactId>rest-assured</artifactId>
+ <scope>test</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.hbase</groupId>
+ <artifactId>hbase-testing-util</artifactId>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>io.quarkus</groupId>
+ <artifactId>quarkus-maven-plugin</artifactId>
+ <executions>
+ <execution>
+ <goals>
+ <goal>build</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+
+ <profiles>
+ <profile>
+ <id>native</id>
+ <activation>
+ <property>
+ <name>native</name>
+ </property>
+ </activation>
+ <properties>
+ <quarkus.package.type>native</quarkus.package.type>
+ </properties>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-failsafe-plugin</artifactId>
+ <executions>
+ <execution>
+ <goals>
+ <goal>integration-test</goal>
+ <goal>verify</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ </profiles>
+</project>
diff --git a/extensions-jvm/hbase/integration-test/src/main/java/org/apache/camel/quarkus/component/hbase/it/HbaseResource.java b/extensions-jvm/hbase/integration-test/src/main/java/org/apache/camel/quarkus/component/hbase/it/HbaseResource.java
new file mode 100644
index 0000000..b8c580a
--- /dev/null
+++ b/extensions-jvm/hbase/integration-test/src/main/java/org/apache/camel/quarkus/component/hbase/it/HbaseResource.java
@@ -0,0 +1,71 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.quarkus.component.hbase.it;
+
+import java.net.URI;
+import java.util.LinkedHashMap;
+import java.util.Map;
+
+import javax.enterprise.context.ApplicationScoped;
+import javax.inject.Inject;
+import javax.ws.rs.GET;
+import javax.ws.rs.POST;
+import javax.ws.rs.Path;
+import javax.ws.rs.PathParam;
+import javax.ws.rs.Produces;
+import javax.ws.rs.core.MediaType;
+import javax.ws.rs.core.Response;
+
+import org.apache.camel.ConsumerTemplate;
+import org.apache.camel.ProducerTemplate;
+import org.apache.camel.component.hbase.HBaseAttribute;
+import org.apache.camel.component.hbase.HBaseConstants;
+import org.apache.camel.component.hbase.model.HBaseData;
+
+@Path("/hbase")
+@ApplicationScoped
+public class HbaseResource {
+
+ @Inject
+ ProducerTemplate producerTemplate;
+
+ @Inject
+ ConsumerTemplate consumerTemplate;
+
+ @Path("/get/{table}")
+ @GET
+ @Produces(MediaType.APPLICATION_JSON)
+ public HBaseData get(@PathParam("table") String table) {
+ return consumerTemplate.receiveBody("hbase://" + table, 5000, HBaseData.class);
+ }
+
+ @Path("/put/{table}/{id}/{family}/{column}")
+ @POST
+ @Produces(MediaType.TEXT_PLAIN)
+ public Response put(String body, @PathParam("table") String table, @PathParam("id") String id,
+ @PathParam("family") String family, @PathParam("column") String column) throws Exception {
+ Map<String, Object> headers = new LinkedHashMap<>();
+ headers.put(HBaseAttribute.HBASE_ROW_ID.asHeader(), id);
+ headers.put(HBaseAttribute.HBASE_FAMILY.asHeader(), family);
+ headers.put(HBaseAttribute.HBASE_QUALIFIER.asHeader(), column);
+ headers.put(HBaseAttribute.HBASE_VALUE.asHeader(), body);
+ headers.put(HBaseConstants.OPERATION, HBaseConstants.PUT);
+
+ producerTemplate.sendBodyAndHeaders("hbase://" + table, null, headers);
+ return Response.created(new URI("https://camel.apache.org/")).build();
+ }
+}
diff --git a/extensions-jvm/hbase/integration-test/src/main/resources/hbase-site.xml b/extensions-jvm/hbase/integration-test/src/main/resources/hbase-site.xml
new file mode 100644
index 0000000..710ce57
--- /dev/null
+++ b/extensions-jvm/hbase/integration-test/src/main/resources/hbase-site.xml
@@ -0,0 +1,134 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+-->
+<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
+<configuration>
+ <property>
+ <name>hbase.regionserver.msginterval</name>
+ <value>1000</value>
+ <description>Interval between messages from the RegionServer to HMaster
+ in milliseconds. Default is 15. Set this value low if you want unit
+ tests to be responsive.
+ </description>
+ </property>
+ <property>
+ <name>hbase.client.pause</name>
+ <value>5000</value>
+ <description>General client pause value. Used mostly as value to wait
+ before running a retry of a failed get, region lookup, etc.</description>
+ </property>
+ <property>
+ <name>hbase.master.meta.thread.rescanfrequency</name>
+ <value>10000</value>
+ <description>How long the HMaster sleeps (in milliseconds) between scans of
+ the root and meta tables.
+ </description>
+ </property>
+ <property>
+ <name>hbase.server.thread.wakefrequency</name>
+ <value>1000</value>
+ <description>Time to sleep in between searches for work (in milliseconds).
+ Used as sleep interval by service threads such as META scanner and log roller.
+ </description>
+ </property>
+ <property>
+ <name>hbase.regionserver.handler.count</name>
+ <value>5</value>
+ <description>Count of RPC Server instances spun up on RegionServers
+ Same property is used by the HMaster for count of master handlers.
+ Default is 10.
+ </description>
+ </property>
+ <property>
+ <name>hbase.master.lease.period</name>
+ <value>6000</value>
+ <description>Length of time the master will wait before timing out a region
+ server lease. Since region servers report in every second (see above), this
+ value has been reduced so that the master will notice a dead region server
+ sooner. The default is 30 seconds.
+ </description>
+ </property>
+ <property>
+ <name>hbase.master.info.port</name>
+ <value>-1</value>
+ <description>The port for the hbase master web UI
+ Set to -1 if you do not want the info server to run.
+ </description>
+ </property>
+ <property>
+ <name>hbase.regionserver.info.port</name>
+ <value>-1</value>
+ <description>The port for the hbase regionserver web UI
+ Set to -1 if you do not want the info server to run.
+ </description>
+ </property>
+ <property>
+ <name>hbase.regionserver.info.port.auto</name>
+ <value>true</value>
+ <description>Info server auto port bind. Enables automatic port
+ search if hbase.regionserver.info.port is already in use.
+ Enabled for testing to run multiple tests on one machine.
+ </description>
+ </property>
+ <property>
+ <name>hbase.master.lease.thread.wakefrequency</name>
+ <value>3000</value>
+ <description>The interval between checks for expired region server leases.
+ This value has been reduced due to the other reduced values above so that
+ the master will notice a dead region server sooner. The default is 15 seconds.
+ </description>
+ </property>
+ <property>
+ <name>hbase.regionserver.optionalcacheflushinterval</name>
+ <value>10000</value>
+ <description>
+ Amount of time to wait since the last time a region was flushed before
+ invoking an optional cache flush. Default 60,000.
+ </description>
+ </property>
+ <property>
+ <name>hbase.regionserver.safemode</name>
+ <value>false</value>
+ <description>
+ Turn on/off safe mode in region server. Always on for production, always off
+ for tests.
+ </description>
+ </property>
+ <property>
+ <name>hbase.hregion.max.filesize</name>
+ <value>67108864</value>
+ <description>
+ Maximum desired file size for an HRegion. If filesize exceeds
+ value + (value / 2), the HRegion is split in two. Default: 256M.
+
+ Keep the maximum filesize small so we split more often in tests.
+ </description>
+ </property>
+ <property>
+ <name>hadoop.log.dir</name>
+ <value>${user.dir}/../logs</value>
+ </property>
+ <property>
+ <name>hbase.zookeeper.property.clientPort</name>
+ <value>21818</value>
+ <description>Property from ZooKeeper's config zoo.cfg.
+ The port at which the clients will connect.
+ </description>
+ </property>
+</configuration>
diff --git a/extensions-jvm/hbase/integration-test/src/test/java/org/apache/camel/quarkus/component/hbase/it/HBaseTestResource.java b/extensions-jvm/hbase/integration-test/src/test/java/org/apache/camel/quarkus/component/hbase/it/HBaseTestResource.java
new file mode 100644
index 0000000..5646dcc
--- /dev/null
+++ b/extensions-jvm/hbase/integration-test/src/test/java/org/apache/camel/quarkus/component/hbase/it/HBaseTestResource.java
@@ -0,0 +1,57 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.quarkus.component.hbase.it;
+
+import java.util.Collections;
+import java.util.Map;
+
+import io.quarkus.test.common.QuarkusTestResourceLifecycleManager;
+import org.apache.hadoop.conf.Configuration;
+import org.apache.hadoop.hbase.HBaseConfiguration;
+import org.apache.hadoop.hbase.HBaseTestingUtility;
+import org.jboss.logging.Logger;
+
+public class HBaseTestResource implements QuarkusTestResourceLifecycleManager {
+ private static final Logger LOG = Logger.getLogger(HBaseTestResource.class);
+ // must be the same as in the config of camel component
+ static final Integer CLIENT_PORT = 21818;
+
+ private HBaseTestingUtility hbaseUtil;
+
+ @Override
+ public Map<String, String> start() {
+ try {
+ Configuration conf = HBaseConfiguration.create();
+ conf.set("test.hbase.zookeeper.property.clientPort", CLIENT_PORT.toString());
+ hbaseUtil = new HBaseTestingUtility(conf);
+ hbaseUtil.startMiniCluster(1);
+ } catch (Exception e) {
+ throw new RuntimeException("Could not start HBase cluster.", e);
+ }
+ return Collections.emptyMap();
+ }
+
+ @Override
+ public void stop() {
+ try {
+ hbaseUtil.shutdownMiniCluster();
+ } catch (Exception e) {
+ LOG.warn("Error shutting down the HBase container", e);
+ }
+ }
+
+}
diff --git a/extensions-jvm/hbase/integration-test/src/test/java/org/apache/camel/quarkus/component/hbase/it/HbaseTest.java b/extensions-jvm/hbase/integration-test/src/test/java/org/apache/camel/quarkus/component/hbase/it/HbaseTest.java
new file mode 100644
index 0000000..1125aca
--- /dev/null
+++ b/extensions-jvm/hbase/integration-test/src/test/java/org/apache/camel/quarkus/component/hbase/it/HbaseTest.java
@@ -0,0 +1,84 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.quarkus.component.hbase.it;
+
+import java.io.IOException;
+
+import io.quarkus.test.common.QuarkusTestResource;
+import io.quarkus.test.junit.QuarkusTest;
+import io.restassured.RestAssured;
+import org.apache.hadoop.conf.Configuration;
+import org.apache.hadoop.hbase.HBaseConfiguration;
+import org.apache.hadoop.hbase.TableName;
+import org.apache.hadoop.hbase.client.ColumnFamilyDescriptorBuilder;
+import org.apache.hadoop.hbase.client.Connection;
+import org.apache.hadoop.hbase.client.ConnectionFactory;
+import org.apache.hadoop.hbase.client.TableDescriptorBuilder;
+import org.junit.jupiter.api.Test;
+
+import static org.hamcrest.core.Is.is;
+
+@QuarkusTest
+@QuarkusTestResource(HBaseTestResource.class)
+class HbaseTest {
+
+ @Test
+ public void e2e() throws IOException, InterruptedException {
+
+ createTable("testtable", "family-1");
+
+ RestAssured.given()
+ .body("foo")
+ .post("/hbase/put/testtable/1/family-1/column-1")
+ .then()
+ .statusCode(201);
+
+ RestAssured.get("/hbase/get/testtable")
+ .then()
+ .statusCode(200)
+ .body("rows.size()", is(1),
+ "rows[0].id", is("1"),
+ "rows[0].cells.size()", is(1),
+ "rows[0].cells[0].family", is("family-1"),
+ "rows[0].cells[0].qualifier", is("column-1"),
+ "rows[0].cells[0].value", is("foo"));
+ }
+
+ protected void createTable(String name, byte[][] families) throws IOException {
+ TableDescriptorBuilder builder = TableDescriptorBuilder.newBuilder(TableName.valueOf(name));
+ for (byte[] fam : families) {
+ builder.setColumnFamily(ColumnFamilyDescriptorBuilder.of(fam));
+ }
+ connectHBase().getAdmin().createTable(builder.build());
+ }
+
+ protected void createTable(String name, String family) throws IOException {
+ createTable(name, new byte[][] { family.getBytes() });
+ }
+
+ protected Connection connectHBase() throws IOException {
+ Connection connection = ConnectionFactory.createConnection(defaultConf());
+ return connection;
+ }
+
+ public static Configuration defaultConf() {
+ Configuration conf = HBaseConfiguration.create();
+ conf.set("test.hbase.zookeeper.property.clientPort", HBaseTestResource.CLIENT_PORT.toString());
+ return conf;
+ }
+
+}
diff --git a/extensions-jvm/hbase/pom.xml b/extensions-jvm/hbase/pom.xml
new file mode 100644
index 0000000..19ead78
--- /dev/null
+++ b/extensions-jvm/hbase/pom.xml
@@ -0,0 +1,40 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+-->
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <groupId>org.apache.camel.quarkus</groupId>
+ <artifactId>camel-quarkus-build-parent</artifactId>
+ <version>1.2.0-SNAPSHOT</version>
+ <relativePath>../../poms/build-parent/pom.xml</relativePath>
+ </parent>
+
+ <artifactId>camel-quarkus-hbase-parent</artifactId>
+ <name>Camel Quarkus :: HBase</name>
+ <packaging>pom</packaging>
+
+ <modules>
+ <module>deployment</module>
+ <module>runtime</module>
+ <module>integration-test</module>
+ </modules>
+</project>
diff --git a/extensions-jvm/hbase/runtime/pom.xml b/extensions-jvm/hbase/runtime/pom.xml
new file mode 100644
index 0000000..1f6b85f
--- /dev/null
+++ b/extensions-jvm/hbase/runtime/pom.xml
@@ -0,0 +1,107 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+-->
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <groupId>org.apache.camel.quarkus</groupId>
+ <artifactId>camel-quarkus-hbase-parent</artifactId>
+ <version>1.2.0-SNAPSHOT</version>
+ <relativePath>../pom.xml</relativePath>
+ </parent>
+
+ <artifactId>camel-quarkus-hbase</artifactId>
+ <name>Camel Quarkus :: HBase :: Runtime</name>
+ <description>Reading and write from/to an HBase store (Hadoop database).</description>
+
+ <properties>
+ <camel.quarkus.jvmSince>1.2.0</camel.quarkus.jvmSince>
+ </properties>
+
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.camel.quarkus</groupId>
+ <artifactId>camel-quarkus-bom</artifactId>
+ <version>${project.version}</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.camel.quarkus</groupId>
+ <artifactId>camel-quarkus-core</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.camel.quarkus</groupId>
+ <artifactId>camel-quarkus-support-commons-logging</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>io.quarkus</groupId>
+ <artifactId>quarkus-jaxp</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.camel</groupId>
+ <artifactId>camel-hbase</artifactId>
+ </dependency>
+ <dependency>
+ <groupId>org.graalvm.nativeimage</groupId>
+ <artifactId>svm</artifactId>
+ <scope>provided</scope>
+ </dependency>
+ </dependencies>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.camel.quarkus</groupId>
+ <artifactId>camel-quarkus-maven-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>update-extension-doc-page</id>
+ <goals><goal>update-extension-doc-page</goal></goals>
+ <phase>process-classes</phase>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>io.quarkus</groupId>
+ <artifactId>quarkus-bootstrap-maven-plugin</artifactId>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <configuration>
+ <annotationProcessorPaths>
+ <path>
+ <groupId>io.quarkus</groupId>
+ <artifactId>quarkus-extension-processor</artifactId>
+ <version>${quarkus.version}</version>
+ </path>
+ </annotationProcessorPaths>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+</project>
diff --git a/extensions-jvm/hbase/runtime/src/main/java/org/apache/camel/quarkus/component/hbase/GroupsSubstitutions.java b/extensions-jvm/hbase/runtime/src/main/java/org/apache/camel/quarkus/component/hbase/GroupsSubstitutions.java
new file mode 100644
index 0000000..0fa1ad1
--- /dev/null
+++ b/extensions-jvm/hbase/runtime/src/main/java/org/apache/camel/quarkus/component/hbase/GroupsSubstitutions.java
@@ -0,0 +1,42 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.camel.quarkus.component.hbase;
+
+import java.util.List;
+
+import com.google.common.util.concurrent.ListenableFuture;
+import com.oracle.svm.core.annotate.Substitute;
+import com.oracle.svm.core.annotate.TargetClass;
+
+class GroupsSubstitutions {
+
+}
+
+@TargetClass(className = "org.apache.hadoop.security.Groups$GroupCacheLoader")
+final class GroupCacheLoaderSubstitutions {
+
+ @Substitute
+ public ListenableFuture<List<String>> reload(final String key,
+ List<String> oldValue) {
+ /* This is to avoid native image creation failure due to missing
+ * com.google.common.util.concurrent.Futures.addCallback(ListenableFuture<List<String>>, FutureCallback<? super List<String>>)
+ * It was removed in Guava 22 */
+ throw new UnsupportedOperationException(
+ "org.apache.hadoop.security.Groups.GroupCacheLoader.reload(String, List<String>) unsupported in native mode");
+ }
+
+}
diff --git a/extensions-jvm/hbase/runtime/src/main/resources/META-INF/quarkus-extension.yaml b/extensions-jvm/hbase/runtime/src/main/resources/META-INF/quarkus-extension.yaml
new file mode 100644
index 0000000..6b9f16e
--- /dev/null
+++ b/extensions-jvm/hbase/runtime/src/main/resources/META-INF/quarkus-extension.yaml
@@ -0,0 +1,32 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+# This is a generated file. Do not edit directly!
+# To re-generate, run the following command from the top level directory:
+#
+# mvn -N cq:update-quarkus-metadata
+#
+---
+name: "Camel HBase"
+description: "Reading and write from/to an HBase store (Hadoop database)"
+metadata:
+ unlisted: true
+ guide: "https://camel.apache.org/camel-quarkus/latest/reference/extensions/hbase.html"
+ categories:
+ - "integration"
+ status:
+ - "preview"
diff --git a/extensions-jvm/pom.xml b/extensions-jvm/pom.xml
index e838f10..82920b3 100644
--- a/extensions-jvm/pom.xml
+++ b/extensions-jvm/pom.xml
@@ -76,6 +76,7 @@
<module>groovy</module>
<module>guava-eventbus</module>
<module>hazelcast</module>
+ <module>hbase</module>
<module>hdfs</module>
<module>hipchat</module>
<module>hl7</module>
diff --git a/pom.xml b/pom.xml
index fdd7172..14dc6ae 100644
--- a/pom.xml
+++ b/pom.xml
@@ -47,6 +47,8 @@
<camel.version>3.5.0</camel.version>
<commons-beanutils.version>1.9.4</commons-beanutils.version><!-- keep in sync with Camel -->
<commons-cli.version>1.4</commons-cli.version><!-- keep in sync with Quarkus, via quarkus-bootstrap-core -->
+ <commons-collections.version>3.2.2</commons-collections.version><!-- used by hbase, should be pretty stable as commons-collections are not developed actively anymore -->
+ <commons-lang.version>2.6</commons-lang.version><!-- used by hbase, should be pretty stable as commons-lang is not developed actively anymore -->
<debezium.version>1.3.0.Final</debezium.version>
<elasticsearch.version>7.8.0</elasticsearch.version>
<freemarker.version>2.3.30</freemarker.version>
@@ -56,9 +58,12 @@
<guava.version>29.0-jre</guava.version>
<gson.version>2.8.5</gson.version>
<hapi.version>4.1.0</hapi.version>
+ <hbase.version>2.2.3</hbase.version><!-- Keep in sync with Camel -->
+ <htrace.version>4.2.0-incubating</htrace.version><!-- Mess in hbase transitive deps -->
<influxdb.version>2.20</influxdb.version>
<jackson.version>2.10.5</jackson.version>
<java.xml.ws.version>2.3.1</java.xml.ws.version>
+ <jcodings.version>1.0.55</jcodings.version><!-- used by hbase -->
<jaxen.version>1.2.0</jaxen.version>
<javassist.version>3.22.0-CR2</javassist.version><!-- debezium -->
<jetty.version>9.4.18.v20190429</jetty.version>
@@ -90,12 +95,16 @@
<!-- Test dependency versions (keep sorted alphabetically) -->
<activemq-version>5.15.12</activemq-version>
+ <commons-math3.version>3.6.1</commons-math3.version><!-- Mess in the transitive dependencies of hbase-testing-util -->
+ <commons-logging.version>1.2</commons-logging.version><!-- Mess in the transitive dependencies of hbase-testing-util -->
<consul-client.version>1.3.3</consul-client.version>
<ftpserver.version>1.1.1</ftpserver.version>
<istack-commons-runtime.version>3.0.10</istack-commons-runtime.version>
+ <jackson-asl.version>1.9.13</jackson-asl.version><!-- Mess in the transitive dependencies of hbase-testing-util -->
<jakarta.mail.version>1.6.5</jakarta.mail.version>
<mock-javamail.version>1.9</mock-javamail.version>
<pdfbox.version>2.0.21</pdfbox.version>
+ <slf4j-log4j12.version>1.7.30</slf4j-log4j12.version><!-- Mess in the transitive dependencies of hbase-testing-util -->
<sshd.version>2.3.0</sshd.version>
<stax2.version>4.2</stax2.version>
<testcontainers.version>1.14.3</testcontainers.version>
diff --git a/poms/bom-test/pom.xml b/poms/bom-test/pom.xml
index 5293642..f1a2c71 100644
--- a/poms/bom-test/pom.xml
+++ b/poms/bom-test/pom.xml
@@ -115,6 +115,22 @@
<version>${pdfbox.version}</version>
</dependency>
<dependency>
+ <groupId>org.apache.hbase</groupId>
+ <artifactId>hbase-testing-util</artifactId>
+ <version>${hbase.version}</version>
+ <scope>test</scope>
+ <exclusions>
+ <exclusion>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>com.google.inject</groupId>
+ <artifactId>guice</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
<groupId>org.apache.sshd</groupId>
<artifactId>sshd-sftp</artifactId>
<version>${sshd.version}</version>
diff --git a/poms/bom/pom.xml b/poms/bom/pom.xml
index b58f31e..ac22461 100644
--- a/poms/bom/pom.xml
+++ b/poms/bom/pom.xml
@@ -939,6 +939,21 @@
</dependency>
<dependency>
<groupId>org.apache.camel</groupId>
+ <artifactId>camel-hbase</artifactId>
+ <version>${camel.version}</version>
+ <exclusions>
+ <exclusion>
+ <groupId>com.google.code.findbugs</groupId>
+ <artifactId>jsr305</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>commons-logging</groupId>
+ <artifactId>commons-logging</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.camel</groupId>
<artifactId>camel-hdfs</artifactId>
<version>${camel.version}</version>
<exclusions>
@@ -3265,6 +3280,16 @@
</dependency>
<dependency>
<groupId>org.apache.camel.quarkus</groupId>
+ <artifactId>camel-quarkus-hbase</artifactId>
+ <version>${camel-quarkus.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.camel.quarkus</groupId>
+ <artifactId>camel-quarkus-hbase-deployment</artifactId>
+ <version>${camel-quarkus.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.camel.quarkus</groupId>
<artifactId>camel-quarkus-hdfs</artifactId>
<version>${camel-quarkus.version}</version>
</dependency>
@@ -5335,6 +5360,16 @@
<version>${commons-cli.version}</version>
</dependency>
<dependency>
+ <groupId>commons-collections</groupId>
+ <artifactId>commons-collections</artifactId>
+ <version>${commons-collections.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>commons-lang</groupId>
+ <artifactId>commons-lang</artifactId>
+ <version>${commons-lang.version}</version>
+ </dependency>
+ <dependency>
<groupId>io.debezium</groupId>
<artifactId>debezium-api</artifactId>
<version>${debezium.version}</version>
@@ -5385,6 +5420,11 @@
<version>${jaxen.version}</version>
</dependency>
<dependency>
+ <groupId>org.apache.htrace</groupId>
+ <artifactId>htrace-core4</artifactId>
+ <version>${htrace.version}</version>
+ </dependency>
+ <dependency>
<groupId>org.apache.kafka</groupId>
<artifactId>connect-runtime</artifactId>
<version>${kafka.version}</version>
@@ -5440,6 +5480,11 @@
<version>${javassist.version}</version>
</dependency>
<dependency>
+ <groupId>org.jruby.jcodings</groupId>
+ <artifactId>jcodings</artifactId>
+ <version>${jcodings.version}</version>
+ </dependency>
+ <dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-aop</artifactId>
<version>${spring.version}</version>