java.lang.Object
io.fluxcapacitor.common.api.Request
io.fluxcapacitor.common.api.eventsourcing.GetEvents
All Implemented Interfaces:
JsonType

public class GetEvents extends Request
A request to fetch stored events for a specific aggregate in an event-sourced system.

This class is used by the Flux platform to retrieve historical events from the event store associated with a given aggregate. It supports pagination via lastSequenceNumber and batchSize to efficiently load large event streams.

Usage

Typically used when:
  • Reconstructing an aggregate's state from its event history
  • Streaming events for external use or replay

Example


 GetEvents request = new GetEvents("order-123", 50L, 100);
 
See Also:
  • Constructor Details

    • GetEvents

      public GetEvents()