You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by GitBox <gi...@apache.org> on 2022/04/01 06:08:16 UTC

[GitHub] [camel] ramu11 opened a new pull request #7314: "CAMEL:17092:Debezium 1.7.0 - Oracle Connector"

ramu11 opened a new pull request #7314:
URL: https://github.com/apache/camel/pull/7314


   "CAMEL:17092:Debezium 1.7.0 - Oracle Connector" 
   
   Added camel-debezium-oracle connector 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [camel] davsclaus merged pull request #7314: "CAMEL:17092:Debezium 1.7.0 - Oracle Connector"

Posted by GitBox <gi...@apache.org>.
davsclaus merged pull request #7314:
URL: https://github.com/apache/camel/pull/7314


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [camel] ramu11 commented on a change in pull request #7314: "CAMEL:17092:Debezium 1.7.0 - Oracle Connector"

Posted by GitBox <gi...@apache.org>.
ramu11 commented on a change in pull request #7314:
URL: https://github.com/apache/camel/pull/7314#discussion_r840326454



##########
File path: components/camel-debezium/pom.xml
##########
@@ -38,6 +38,7 @@
         <module>camel-debezium-mysql</module>
         <module>camel-debezium-postgres</module>
         <module>camel-debezium-sqlserver</module>
+        <module>camel-debezium-oracle</module>

Review comment:
       done




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [camel] davsclaus commented on a change in pull request #7314: "CAMEL:17092:Debezium 1.7.0 - Oracle Connector"

Posted by GitBox <gi...@apache.org>.
davsclaus commented on a change in pull request #7314:
URL: https://github.com/apache/camel/pull/7314#discussion_r840283686



##########
File path: components/camel-debezium/camel-debezium-oracle/src/main/docs/debezium-oracle-component.adoc
##########
@@ -0,0 +1,113 @@
+= Debezium Oracle Connector Component
+:doctitle: Debezium Oracle Connector
+:shortname: debezium-oracle
+:artifactid: camel-debezium-oracle
+:description: Capture changes from a Oracle database.
+:since: 3.0
+:supportlevel: Stable
+:component-header: Only consumer is supported
+//Manually maintained attributes
+:group: Debezium
+:camel-spring-boot-name: debezium-oracle
+
+*Since Camel {since}*
+
+*{component-header}*
+
+
+The Debezium oracle component is wrapper around https://debezium.io/[Debezium] using https://debezium.io/documentation/reference/0.9/operations/embedded.html[Debezium Embedded], which enables Change Data Capture from oracle database using Debezium without the need for Kafka or Kafka Connect.
+
+*Note on handling failures:* Per https://debezium.io/documentation/reference/0.9/operations/embedded.html#_handling_failures[Debezium Embedded Engine] documentation, the engines is actively recording source offsets and periodically flushes these offsets to a persistent storage, so when the application is restarted or crashed, the engine will resume from the last recorded offset.
+Thus, at normal operation, your downstream routes will receive each event exactly once, however in case of an application crash (not having a graceful shutdown), the application will resume from the last recorded offset,
+which may result in receiving duplicate events immediately after the restart. Therefore, your downstream routes should be tolerant enough of such case and deduplicate events if needed.
+
+*Note:* The Debezium oracle component is currently not supported in OSGi
+
+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-debezium-oracle</artifactId>
+    <version>x.x.x</version>
+    <!-- use the same version as your Camel core version -->
+</dependency>
+----
+
+== URI format
+
+---------------------------
+debezium-oracle:name[?options]
+---------------------------
+
+
+// component-configure options: START
+
+// component-configure options: END
+
+// component options: START
+include::partial$component-configure-options.adoc[]
+include::partial$component-endpoint-options.adoc[]
+// component options: END
+
+// endpoint options: START
+
+// endpoint options: END
+
+For more information about configuration:
+https://debezium.io/documentation/reference/0.10/operations/embedded.html#engine-properties[https://debezium.io/documentation/reference/0.10/operations/embedded.html#engine-properties]

Review comment:
       0.10 -> 1.8 as its based on debezium 1.8.x

##########
File path: components/camel-debezium/camel-debezium-oracle/src/main/docs/debezium-oracle-component.adoc
##########
@@ -0,0 +1,113 @@
+= Debezium Oracle Connector Component
+:doctitle: Debezium Oracle Connector
+:shortname: debezium-oracle
+:artifactid: camel-debezium-oracle
+:description: Capture changes from a Oracle database.
+:since: 3.0

Review comment:
       3.17

##########
File path: components/camel-debezium/camel-debezium-oracle/src/main/java/org/apache/camel/component/debezium/DebeziumOracleEndpoint.java
##########
@@ -0,0 +1,54 @@
+/*
+ * 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.component.debezium;
+
+import org.apache.camel.Category;
+import org.apache.camel.component.debezium.configuration.OracleConnectorEmbeddedDebeziumConfiguration;
+import org.apache.camel.spi.UriEndpoint;
+import org.apache.camel.spi.UriParam;
+
+/**
+ * Capture changes from a Oracle database.
+ */
+@UriEndpoint(firstVersion = "3.0.0", scheme = "debezium-oracle", title = "Debezium Oracle Connector",

Review comment:
       3.0.0 -> 3.17.0

##########
File path: components/camel-debezium/pom.xml
##########
@@ -38,6 +38,7 @@
         <module>camel-debezium-mysql</module>
         <module>camel-debezium-postgres</module>
         <module>camel-debezium-sqlserver</module>
+        <module>camel-debezium-oracle</module>

Review comment:
       Can you put this in a sorted A..Z position




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [camel] ramu11 commented on a change in pull request #7314: "CAMEL:17092:Debezium 1.7.0 - Oracle Connector"

Posted by GitBox <gi...@apache.org>.
ramu11 commented on a change in pull request #7314:
URL: https://github.com/apache/camel/pull/7314#discussion_r840326587



##########
File path: components/camel-debezium/camel-debezium-oracle/src/main/java/org/apache/camel/component/debezium/DebeziumOracleEndpoint.java
##########
@@ -0,0 +1,54 @@
+/*
+ * 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.component.debezium;
+
+import org.apache.camel.Category;
+import org.apache.camel.component.debezium.configuration.OracleConnectorEmbeddedDebeziumConfiguration;
+import org.apache.camel.spi.UriEndpoint;
+import org.apache.camel.spi.UriParam;
+
+/**
+ * Capture changes from a Oracle database.
+ */
+@UriEndpoint(firstVersion = "3.0.0", scheme = "debezium-oracle", title = "Debezium Oracle Connector",

Review comment:
       done

##########
File path: components/camel-debezium/camel-debezium-oracle/src/main/docs/debezium-oracle-component.adoc
##########
@@ -0,0 +1,113 @@
+= Debezium Oracle Connector Component
+:doctitle: Debezium Oracle Connector
+:shortname: debezium-oracle
+:artifactid: camel-debezium-oracle
+:description: Capture changes from a Oracle database.
+:since: 3.0
+:supportlevel: Stable
+:component-header: Only consumer is supported
+//Manually maintained attributes
+:group: Debezium
+:camel-spring-boot-name: debezium-oracle
+
+*Since Camel {since}*
+
+*{component-header}*
+
+
+The Debezium oracle component is wrapper around https://debezium.io/[Debezium] using https://debezium.io/documentation/reference/0.9/operations/embedded.html[Debezium Embedded], which enables Change Data Capture from oracle database using Debezium without the need for Kafka or Kafka Connect.
+
+*Note on handling failures:* Per https://debezium.io/documentation/reference/0.9/operations/embedded.html#_handling_failures[Debezium Embedded Engine] documentation, the engines is actively recording source offsets and periodically flushes these offsets to a persistent storage, so when the application is restarted or crashed, the engine will resume from the last recorded offset.
+Thus, at normal operation, your downstream routes will receive each event exactly once, however in case of an application crash (not having a graceful shutdown), the application will resume from the last recorded offset,
+which may result in receiving duplicate events immediately after the restart. Therefore, your downstream routes should be tolerant enough of such case and deduplicate events if needed.
+
+*Note:* The Debezium oracle component is currently not supported in OSGi
+
+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-debezium-oracle</artifactId>
+    <version>x.x.x</version>
+    <!-- use the same version as your Camel core version -->
+</dependency>
+----
+
+== URI format
+
+---------------------------
+debezium-oracle:name[?options]
+---------------------------
+
+
+// component-configure options: START
+
+// component-configure options: END
+
+// component options: START
+include::partial$component-configure-options.adoc[]
+include::partial$component-endpoint-options.adoc[]
+// component options: END
+
+// endpoint options: START
+
+// endpoint options: END
+
+For more information about configuration:
+https://debezium.io/documentation/reference/0.10/operations/embedded.html#engine-properties[https://debezium.io/documentation/reference/0.10/operations/embedded.html#engine-properties]

Review comment:
       done

##########
File path: components/camel-debezium/camel-debezium-oracle/src/main/docs/debezium-oracle-component.adoc
##########
@@ -0,0 +1,113 @@
+= Debezium Oracle Connector Component
+:doctitle: Debezium Oracle Connector
+:shortname: debezium-oracle
+:artifactid: camel-debezium-oracle
+:description: Capture changes from a Oracle database.
+:since: 3.0

Review comment:
       done




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org