jet / jet/propulsion

EventStore: Add logging of approx batch age to EventStoreReader

Open
#57 0 comments 0 reactions 0 assignees View on GitHub
enhancement good first issue up-for-grabs
Dominant language
F#
Stars
190
Forks
24
PR merge metrics
No merged PRs in 30d

Description

The reader for the CosmosDB ChangeFeed [emits an (indicative, depends on clock sync) "age" stat per batch retrieved](https://github.com/jet/propulsion/blob/97365de328e8fa3738983793b39271e7464dde76/src/Propulsion.Cosmos/CosmosSource.fs#L25), which can be very useful as an indicator for troubleshooting

The same should be added to [the equivalent logging in `EventStoreReader`](https://github.com/jet/propulsion/blob/66b7b403ba64b74b1a87867fbb5dffe7929ac7cb/src/Propulsion.EventStore/EventStoreReader.fs#L165)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.