Comments (5)
There is functionality in place right now to do what you need (if i'm understanding you :)
all that would be needed I imagine is something like this
a config file that looks something similar to:
nodes:
mongo:
type: mongo
uri: mongodb://localhost/admin
es:
type: elasticsearch
uri: https://user:[email protected]:10291/thisgetsignored
and then run transporter on the command line:
transporter eval --config config.yaml 'Source({name:"mongo", namespace:"B.A"}).save({name:"es", namespace: "C.D"})'
from transporter.
Hi,
I'm not entirely sure what you mean with this
If you are asking whether it's possible to take entire documents from different mongo sources and index them into elasticsearch, then that is definitely possible with transporter now, it's just a matter of sepcifying multiple sources in your application.js
however if you're looking at merging documents from different sources into a single document and then indexing that in elasticsearch, that's something that is definitely on the roadmap. Internally we're calling these 'joins', and are looking for good semantics to manage these sorts of operations. When we release this feature, we'll likely be able to take any document and merge it with data from any other source, not necessarily a source from the same database
from transporter.
@nstott thanks for the quick reply; i appreciate it!
In short, yes...it's useful to think of it as a join. I think my question can be reduced to: Is it possible now, or soon in the future, to simply say: "Sync only documents from collection A in database B into Index C of Elasticsearch database D" (The application code can handle the necessary "joining".)
from transporter.
perfect, that's what i was looking for. thank you!
from transporter.
let me know how it goes!
from transporter.
Related Issues (20)
- Support for case sensitive table identifiers in Postgres
- elastic cloud uri for cloud enterprise HOT 1
- Panic New Pipeline
- mongodb not compatible with elastic search 7.3.0 HOT 4
- Logging from inside goja or otto transform functions
- sync mongoDB to es ๏ผlost some data HOT 2
- how to set batch operation?such as batch insert ES size, mongo batch query size; because of too slowly
- ls
- Rejecting mapping update as the final mapping would have more than 1 type HOT 2
- MongoDB -> Elasticsearch :: json: unsupported value: NaN
- Postgres sink update error where table name exists in multiple schemas HOT 1
- How to sync all the databases from DB-A to DB-B based on filters provided
- SSL is not enabled on the server from postgresql to elasticsearch
- ERRO[0114] elastic: Error 400 (Bad Request): Action/metadata line [1] contains an unknown parameter [_type] [type=illegal_argument_exception] executionID=8 version=5 writer=elasticsearch HOT 1
- transporter `run` reports "connection error, no reachable servers" even though `test` says OK. HOT 3
- Deletions from postgres to mongo are not handled correctly when mongo is down
- Mongo driver deprecated
- connection error, no reachable servers when trying to connect to a atlas cluster
- mongodb source: "sort exceeded memory limit"
- Repository has been archived HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from transporter.