Skip to content

Commit

Permalink
add docs
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidBadura committed Nov 30, 2024
1 parent b81599f commit 20ce113
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion docs/pages/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,22 @@ patchlevel_event_sourcing:

You can find out more about subscriptions in the library
[documentation](https://event-sourcing.patchlevel.io/latest/subscription/).


### Store

You can change where the subscription engine stores its necessary information about the subscription.
Default is `dbal`, which means it stores it in the same DB that is used by the dbal event store.
Otherwise you also have the option to set it to `in_memory`, then this information will not be persisted anywhere.
This is very useful for testing. And if that is not enough, you can also define a `custom` store and specify the service.

```yaml
patchlevel_event_sourcing:
subscription:
store:
type: 'custom' # default is 'dbal'
service: 'my_subscription_store'
```

### Catch Up

If aggregates are used in the processors and new events are generated there,
Expand Down

0 comments on commit 20ce113

Please sign in to comment.