alino / alino-mongo2es Goto Github PK
View Code? Open in Web Editor NEWstandalone Meteor package which you can use inside your meteor app, to sync MongoDB to ElasticSearch
standalone Meteor package which you can use inside your meteor app, to sync MongoDB to ElasticSearch
I'm trying to use http basic authentication to ES using the following format: https://es_user:es_password@es_url:es_port, but it's cutting out the authentication credentials before sending the resquest, which ends up returning 401.
It could work if you add an auth string option to ES obj when instanciating Mongo2ES.
options = {
ES: {
host: // String - url
auth: // String - 'username:password'
}
}
And then on every request you would foward the auth param to the request:
HTTP.get(ES.host, {data: '/', auth: ES.auth});
```javascript
I get a bunch of these errors when I run meteor. The app launches and it connects to elasticsearch server though. What is this all about???
`I20190501-15:07:02.303(-4)? Exception in added observe/observeChanges callback: ReferenceError: getESAuth is not defined
I20190501-15:07:02.303(-4)? at Object.added (packages/alino_mongo2es/lib/mongo2es.coffee:15:24)
I20190501-15:07:02.303(-4)? at _CachingChangeObserver.added (packages/minimongo/local_collection.js:1305:28)
I20190501-15:07:02.303(-4)? at added (packages/minimongo/local_collection.js:707:29)
I20190501-15:07:02.303(-4)? at runWithEnvironment (packages\meteor.js:1286:24)
I20190501-15:07:02.304(-4)? at packages\meteor.js:1299:14
I20190501-15:07:02.304(-4)? at packages/mongo/observe_multiplex.js:182:30
I20190501-15:07:02.304(-4)? at Array.forEach ()
I20190501-15:07:02.304(-4)? at Function..each..forEach (packages\underscore.js:139:11)
I20190501-15:07:02.304(-4)? at Object.task (packages/mongo/observe_multiplex.js:176:9)
I20190501-15:07:02.304(-4)? at Meteor._SynchronousQueue.SQp._run (packages\meteor.js:917:16)
I20190501-15:07:02.305(-4)? at packages\meteor.js:894:12`
Newbie question here:
How to tell mongo2es my mongo url and replicat set? Thanks
Current atmosphere version is 0.0.6 and does not include auth fixes
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.