Class AxonServerEventStorageEngine

java.lang.Object
io.axoniq.framework.axonserver.connector.event.AxonServerEventStorageEngine
All Implemented Interfaces:
DescribableComponent, EventStorageEngine

public class AxonServerEventStorageEngine extends Object implements EventStorageEngine
An EventStorageEngine implementation using Axon Server through the axonserver-connector-java project.
Since:
5.0.0
Author:
Steven van Beelen
  • Constructor Details

    • AxonServerEventStorageEngine

      public AxonServerEventStorageEngine(io.axoniq.axonserver.connector.AxonServerConnection connection, EventConverter converter)
      Constructs an AxonServerEventStorageEngine with the given connection and converter, using EventTypeResolver.DEFAULT to resolve MessageTypes when reading events back from Axon Server.
      Parameters:
      connection - the context-specific backing connection to Axon Server
      converter - the converter to use to serialize payloads and complex Metadata values into bytes
    • AxonServerEventStorageEngine

      public AxonServerEventStorageEngine(io.axoniq.axonserver.connector.AxonServerConnection connection, EventConverter converter, EventTypeResolver eventTypeResolver)
      Constructs an AxonServerEventStorageEngine with the given connection, converter, and eventTypeResolver.
      Parameters:
      connection - the context-specific backing connection to Axon Server
      converter - the converter to use to serialize payloads and complex Metadata values into bytes
      eventTypeResolver - the resolver used to construct a MessageType from the event name and version stored in Axon Server, handling missing or empty versions for legacy events
  • Method Details