Skip to content
This repository has been archived by the owner on Jul 25, 2024. It is now read-only.

Namespaces in eventstore? #34

Open
guptaac opened this issue Mar 6, 2017 · 1 comment
Open

Namespaces in eventstore? #34

guptaac opened this issue Mar 6, 2017 · 1 comment

Comments

@guptaac
Copy link

guptaac commented Mar 6, 2017

I have a requirement to use the same event store instance for multiple environments. Can someone please help by letting me know if there is a concept of namespaces in eventstore so that events from one environment is logically separated from others? something similar to a separate database table in any traditional database store.

@t3hnar
Copy link
Contributor

t3hnar commented Mar 20, 2017

you can configure so called

eventstore.persistence {

  # Prefix prepended to persistenceId
  # streamId = stream-prefix + persistenceId
  journal.stream-prefix = ""
  
  # Prefix prepended to persistenceId
  # streamId = stream-prefix + persistenceId
  snapshot-store.stream-prefix = ""
}

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

No branches or pull requests

2 participants