EventStore / EventStore.Akka.Persistence

Event Store Journal for Akka Persistence
BSD 3-Clause "New" or "Revised" License
74 stars 20 forks source link

Namespaces in eventstore? #34

Open guptaac opened 7 years ago

guptaac commented 7 years ago

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 commented 7 years ago

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 = ""
}