You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by GitBox <gi...@apache.org> on 2022/10/08 15:59:50 UTC

[GitHub] [beam] Rstar1998 opened a new issue, #23551: Is it possible for apache beam mongo sdk to include support to read Mongodb cdc (Change data capture) streams ?

Rstar1998 opened a new issue, #23551:
URL: https://github.com/apache/beam/issues/23551

   ### What would you like to happen?
   
   Hi folks , There are many use cases where people want realtime migration of collections of  Mongodb to Big query (Data Warehouse ) / GCS (Data lake). Hence , it would be great if  apache beam mongo sdk included support to read Mongodb cdc (Change data capture) streams in real time and those events capture can be dumped into big query or GCS for analytical purposes. Currently  to achieve this stuff we need a lot complex architecture in GCP including debezium , kafka  etc. If this feature is implemented properly there will be only one single pipeline which will do all the stuff.
   
   ### Issue Priority
   
   Priority: 3
   
   ### Issue Component
   
   Component: io-py-mongodb


-- 
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: github-unsubscribe@beam.apache.org.apache.org

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


[GitHub] [beam] Rstar1998 commented on issue #23551: [Feature Request] : Is it possible for apache beam mongo sdk to include support to read Mongodb cdc (Change data capture) streams ?

Posted by GitBox <gi...@apache.org>.
Rstar1998 commented on issue #23551:
URL: https://github.com/apache/beam/issues/23551#issuecomment-1276738955

   @xinbinhuang DebeziumIO should work in my case. But unfortunately it doesn't have Mongo support in beam library itself. 
   
   https://beam.apache.org/releases/javadoc/2.30.0/org/apache/beam/io/debezium/DebeziumIO.html
   
   https://github.com/apache/beam/blob/master/sdks/java/io/debezium/src/main/java/org/apache/beam/io/debezium/Connectors.java
   
   Maybe some tweaks will able to do our job. Because debezium does have Mongo connector support.


-- 
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: github-unsubscribe@beam.apache.org

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


[GitHub] [beam] Rstar1998 commented on issue #23551: [Feature Request] : Is it possible for apache beam mongo sdk to include support to read Mongodb cdc (Change data capture) streams ?

Posted by GitBox <gi...@apache.org>.
Rstar1998 commented on issue #23551:
URL: https://github.com/apache/beam/issues/23551#issuecomment-1275921906

   @xinbinhuang A managed service (wrt to compute and scaling)  is always preferred by most of the customers rather than hosting debezium on a server. If we are able to make mongo streaming possible using dataflow , it will help in lot of data engineering usecases


-- 
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: github-unsubscribe@beam.apache.org

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


[GitHub] [beam] xinbinhuang commented on issue #23551: [Feature Request] : Is it possible for apache beam mongo sdk to include support to read Mongodb cdc (Change data capture) streams ?

Posted by GitBox <gi...@apache.org>.
xinbinhuang commented on issue #23551:
URL: https://github.com/apache/beam/issues/23551#issuecomment-1275059009

   No an expert on Beam's support on this. But have you tried the debezium io? https://beam.apache.org/releases/javadoc/2.30.0/org/apache/beam/io/debezium/DebeziumIO.html?


-- 
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: github-unsubscribe@beam.apache.org

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


[GitHub] [beam] xinbinhuang commented on issue #23551: [Feature Request] : Is it possible for apache beam mongo sdk to include support to read Mongodb cdc (Change data capture) streams ?

Posted by GitBox <gi...@apache.org>.
xinbinhuang commented on issue #23551:
URL: https://github.com/apache/beam/issues/23551#issuecomment-1276564661

   I'm not sure if I follow your questions. I believe the `DebeziumIO` is self-contained and encapsulated within Beam, so you don't need to set up a separate kafka and debezium server. Though experimental, it should also work with the `MongoDbConnector`. 
   
   >  If we are able to make mongo streaming possible using dataflow , it will help in lot of data engineering usecases
   
   Is your use case about Beam or about dataflow?  Beam should just work on dataflow.


-- 
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: github-unsubscribe@beam.apache.org

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