Package kalix.javasdk.eventsourcedentity
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 Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.Descriptors.FileDescriptor[]
default Optional
<kalix.javasdk.impl.MessageCodec> newRouter
(EventSourcedEntityContext context) options()
com.google.protobuf.Descriptors.ServiceDescriptor
typeId()
-
Method Details
-
options
EventSourcedEntityOptions options() -
serviceDescriptor
com.google.protobuf.Descriptors.ServiceDescriptor serviceDescriptor() -
typeId
String typeId() -
newRouter
kalix.javasdk.impl.eventsourcedentity.EventSourcedEntityRouter<S,E, newRouterES> (EventSourcedEntityContext context) -
additionalDescriptors
com.google.protobuf.Descriptors.FileDescriptor[] additionalDescriptors() -
alternativeCodec
-