A
- a representation of an action command that is shared across all actions in the saga. This is typically a generic type, such as Json, or if using Avro serialization, SpecificRecord or GenericRecordpublic class SagaRequest<A> extends Object
SagaAPI
in the
saga request topic, and consumed by the saga coordinator.Modifier and Type | Field and Description |
---|---|
Saga<A> |
initialState
The initial state of the saga.
|
SagaId |
sagaId
The saga id uniquely identifies the saga, and is used as the key for the saga request and responses.
|
Constructor and Description |
---|
SagaRequest() |
public final SagaId sagaId
Copyright © 2019. All rights reserved.