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

Collection name cannot be specified? #25

Closed
deyanp opened this issue May 13, 2019 · 4 comments
Closed

Collection name cannot be specified? #25

deyanp opened this issue May 13, 2019 · 4 comments

Comments

@deyanp
Copy link

deyanp commented May 13, 2019

Hi,

I am looking into creating a Cosmos DB database with shared throughput across all collections/containers. It seems the database name can be specified when setting up the configuration, but the collection/container name not? Asking because I wanted to create several XxxEvents collections, and have different Cosmos Db Triggers assigned to each one ..

@deyanp
Copy link
Author

deyanp commented May 13, 2019

I see that another attribute can easily be added to CosmoStore.CosmosDb.Configuration, and used in CosmoStore.CosmosDb.EventStore.

But I see in the js sproc hardcoded Events, any idea how that can be changed?

@Dzoukr
Copy link
Owner

Dzoukr commented May 14, 2019

Hi @deyanp,

you are right, currently it cannot be changed, but I got an idea how to put more separate collections into one database. I'll keep it open until solved.

Dzoukr added a commit that referenced this issue May 14, 2019
@Dzoukr
Copy link
Owner

Dzoukr commented May 17, 2019

Fixed in v2.1.0

@Dzoukr Dzoukr closed this as completed May 17, 2019
@deyanp
Copy link
Author

deyanp commented May 17, 2019

Thanks a lot, @Dzoukr!!!

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