Interface EventSourcedEntityProvider<S,E,ES extends EventSourcedEntity<S,E>>


public interface EventSourcedEntityProvider<S,E,ES extends EventSourcedEntity<S,E>>
Register an event sourced entity in Kalix using a EventSourcedEntityProvider. The concrete EventSourcedEntityProvider is generated for the specific entities defined in Protobuf, for example CustomerEntityProvider .
  • Method Details

    • options

    • serviceDescriptor

      com.google.protobuf.Descriptors.ServiceDescriptor serviceDescriptor()
    • typeId

      String typeId()
    • newRouter

      kalix.javasdk.impl.eventsourcedentity.EventSourcedEntityRouter<S,E,ES> newRouter(EventSourcedEntityContext context)
    • additionalDescriptors

      com.google.protobuf.Descriptors.FileDescriptor[] additionalDescriptors()
    • alternativeCodec

      default Optional<kalix.javasdk.impl.MessageCodec> alternativeCodec()