-
Notifications
You must be signed in to change notification settings - Fork 726
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
Clarify actor state store support for MongoDB #3990
Conversation
Fixes dapr#3303 Signed-off-by: ItalyPaleAle <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Appreciate you adding this important detail to the docs!
daprdocs/content/en/reference/components-reference/supported-state-stores/setup-mongodb.md
Outdated
Show resolved
Hide resolved
daprdocs/content/en/reference/components-reference/supported-state-stores/setup-mongodb.md
Outdated
Show resolved
Hide resolved
|
||
> <sup>[**]</sup> The `params` field accepts a query string that specifies connection specific options as `<name>=<value>` pairs, separated by `"&"` and prefixed with `"?"`. e.g. to use "daprStore" db as authentication database and enabling SSL/TLS in connection, specify params as `"?authSource=daprStore&ssl=true"`. See [the mongodb manual](https://docs.mongodb.com/manual/reference/connection-string/#std-label-connections-connection-options) for the list of available options and their use cases. | ||
> <sup>[2]</sup> The `params` field accepts a query string that specifies connection specific options as `<name>=<value>` pairs, separated by `&` and prefixed with `?`. e.g. to use "daprStore" db as authentication database and enabling SSL/TLS in connection, specify params as `?authSource=daprStore&ssl=true`. See [the mongodb manual](https://docs.mongodb.com/manual/reference/connection-string/#std-label-connections-connection-options) for the list of available options and their use cases. | ||
|
||
## Setup MongoDB |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It would be great if we could point to a resource on how to set up mongoDB replica sets easily as pointed out here https://stackoverflow.com/questions/51461952/mongodb-v4-0-transaction-mongoerror-transaction-numbers-are-only-allowed-on-a. Do you have a suggestion, or better still is there a public container image that could be downloaded and used?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
- Docker: I added a link to how to set up a RS using Docker. It's not a simple process, and requires a bunch of steps, so I think it's best to link to the official docs
- K8s: Looks like the Helm chart we recommended for K8s was archived. I've changed the recommendation to use the Helm chart by Bitnami, which also supports configuring Replica Sets. Since there are many options, and it depends on the architecture you choose (single node or RS), I've just added a link
Co-authored-by: Mark Fussell <[email protected]> Signed-off-by: Alessandro (Ale) Segala <[email protected]>
Signed-off-by: ItalyPaleAle <[email protected]>
Signed-off-by: ItalyPaleAle <[email protected]>
daprdocs/content/en/reference/components-reference/supported-state-stores/setup-mongodb.md
Outdated
Show resolved
Hide resolved
…tate-stores/setup-mongodb.md Signed-off-by: Mark Fussell <[email protected]>
daprdocs/content/en/reference/components-reference/supported-state-stores/setup-mongodb.md
Outdated
Show resolved
Hide resolved
…tate-stores/setup-mongodb.md Signed-off-by: Mark Fussell <[email protected]>
daprdocs/content/en/reference/components-reference/supported-state-stores/setup-mongodb.md
Show resolved
Hide resolved
…tate-stores/setup-mongodb.md Signed-off-by: Mark Fussell <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
Fixes #3303