Skip to content

Commit

Permalink
Added default event type to consumers
Browse files Browse the repository at this point in the history
Thanks to that processors will be automatically typed by that. This can be useful if we have multiple processors for the same stream subscription.

It's optional and falls back to event, so each processor can still have it's own event type (e.g. when subscribing to all events).

Other option is to put a union of all events in consumer and then use just a subset of those types in processors.
  • Loading branch information
oskardudycz committed Feb 14, 2025
1 parent 451e73e commit be1d750
Show file tree
Hide file tree
Showing 3 changed files with 9,770 additions and 7,356 deletions.
Loading

0 comments on commit be1d750

Please sign in to comment.