dotnet-cqrs/docs/samples/configuration-examples.md

38 lines
561 B
Markdown

# Configuration Examples
Common appsettings.json configurations.
## Event Streaming
```json
{
"EventStreaming": {
"PostgreSQL": {
"ConnectionString": "Host=localhost;Database=eventstore;Username=postgres;Password=postgres"
},
"ConsumerGroups": {
"Enabled": true,
"HeartbeatInterval": "00:00:10",
"SessionTimeout": "00:00:30"
}
}
}
```
## Logging
```json
{
"Logging": {
"LogLevel": {
"Default": "Information",
"Svrnty.CQRS": "Debug"
}
}
}
```
## See Also
- [Samples Overview](README.md)