Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Website connectionString documentation out of date #13

Open
gerhardcit opened this issue Dec 10, 2017 · 1 comment
Open

Website connectionString documentation out of date #13

gerhardcit opened this issue Dec 10, 2017 · 1 comment

Comments

@gerhardcit
Copy link

The Website documentation here:
https://deepstreamhub.com/open-source/integrations/db-mongodb/
Shows the "older" format for mongodb connection in the conf.yaml for deepstream

storage:
  name: mongodb
  options:
    connectionString: ${MONGODB_CONNECTION_STRING}
    # optional database name, defaults to `deepstream`
    database: 'someDb'
    # optional table name for records without a splitChar
    # defaults to deepstream_records
    defaultTable: 'someTable'
    # optional character that's used as part of the
    # record names to split it into a tabel and an id part
    splitChar: '/'

where is should be according to this repo:

storage:
  name: mongodb
  options:
    connectionString: ${MONGODB_CONNECTION_STRING}/somedb
    # DEPRECATED? optional database name, defaults to `deepstream`
   #  DEPRECATED? database: 'someDb' --- NOT used in newer versions of mongo
    # optional table name for records without a splitChar
    # defaults to deepstream_records
    defaultTable: 'someTable'
    # optional character that's used as part of the
    # record names to split it into a tabel and an id part
    splitChar: '/'

@roark
Copy link

roark commented May 16, 2018

> deepstream install storage mongodb

Also prints out the old example configuration. Update would help streamline new users.

deepstream.io-storage-mongodb v1.1.0 was installed to /usr/local/lib/deepstream

Example configuration:
plugins:
  storage:
    name: mongodb
    options:
      connectionString: ${MONGODB_CONNECTION_STRING}
      database: 'someDb'
      defaultTable: 'someTable'
      splitChar: '/'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants