Skip to content

Release v24.1.0

Compare
Choose a tag to compare
@dolittle-build dolittle-build released this 07 Jan 10:40
7e27362

Summary

Adds stream position metadata to event context, as well as adding the ability to programmatically decide the processing range of event handlers.

Stream position metadata requires runtime version 9.9.0 or newer.

Usage

EventHandlerWithRangeSelectorAttribute<T> can be used instead of the EventHandler attribute, where T is an IProcessRangeSelector. The given range selector will be used to determine what time range will be processed by the handler.

Added

  • EventContext: Added StreamPosition
  • EventHandlerWithRangeSelector: New attribute that supports programmatic process range selection.