public interface SpecConsumer<V>
SpecExecutor to receive spec to execute from Orchestrator.
Implementation of this interface should specify communication channel (e.g. Kafka, REST, etc.)| Modifier and Type | Method and Description |
|---|---|
Future<? extends List<org.apache.commons.lang3.tuple.Pair<SpecExecutor.Verb,V>>> |
changedSpecs()
List of newly changed
Specs for execution on SpecExecutor. |
default void |
commit(Spec spec)
A commit method to allow the consumer to checkpoint state on successful consumption of a
Spec. |
Future<? extends List<org.apache.commons.lang3.tuple.Pair<SpecExecutor.Verb,V>>> changedSpecs()
Specs for execution on SpecExecutor.default void commit(Spec spec) throws IOException
Spec.IOException