-
Notifications
You must be signed in to change notification settings - Fork 5
Connection strings and settings
Because the event streams underlying the entities, command, queries and so on in the system require an azure backing storage (as an AppendBlob, File or Table) they each need a connection string to use.
By default the connection string would be called {domain name}.{entity type name}.ConnectionString - so runners in the runners domain would use the connection string Runners.Runner.ConnectionString
.
As this would lead to very many connection strings you can also set up a mapping such that multiple domain name/entity type connections map to the same connection string.
Mappings start with the prefix TYPEMAP_ followed by the precedence, domain name and entity type name.
e.g. TYPEMAP_0_RUNNERS_RUNNER
You can use a wildcard of * to map to all domains or all entity types in a domain.
e.g. TYPEMAP_1_COMMAND_*
for storing all commands using the same connection string.