Skip to content

Release v0.19.0

Choose a tag to compare

@github-actions github-actions released this 22 Nov 10:03
0453ade

Summary

Reactors and reducers can opt in to receiving events in the generation they registered for, and every observed event now reports the generation it was originally appended in.

Added

  • events.Context.AppendedGeneration reports the generation an event was originally appended in; 0 means the kernel did not record it. (#102)
  • reactors.WithGenerationDelivery and reducers.WithGenerationDelivery opt an observer in to events.Pinned delivery, where the kernel delivers each event in the registered generation and the client decodes it as delivered. events.Compatibility stays the default. (#102)
  • A separate recipes module shows how to instrument the client with OpenTelemetry through otelgrpc and WithGRPCStatsHandler, including shutdown order, without adding OpenTelemetry to the client module's dependencies. (#80)