Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- await(Var) - Static method in interface io.github.javactrl.kafka.Workflow
-
A short-cut to
WorkflowContext.current.get().await(v) - await(String) - Static method in interface io.github.javactrl.kafka.Workflow
-
A short-cut to
WorkflowContext.current.get().await(newVar(name))
C
- close() - Method in class io.github.javactrl.kafka.Scheduler.SchedulerProcessor
F
- forward(String, String) - Static method in interface io.github.javactrl.kafka.Workflow
-
Forwards a record into registered Processor sink, using the current thread id as the record's key
- forward(String, String, String) - Static method in interface io.github.javactrl.kafka.Workflow
-
Forwards a record into registered Processor sink
G
- get() - Method in class io.github.javactrl.kafka.Var
-
Gets result of this variable This is a short-cut to
WorkflowContext.current.get().await(this) - get() - Method in class io.github.javactrl.kafka.WorkflowProcessorSupplier
- getFullId() - Method in class io.github.javactrl.kafka.Var
-
Gets unique identifier containing information about its thread and its local id
- getLocalId() - Method in class io.github.javactrl.kafka.Var
-
Gets identifier of this variable.
- getProcessorContext() - Static method in interface io.github.javactrl.kafka.Workflow
-
Getting current
org.apache.kafka.streams.processor.api.ProcessorContextfrom Kafka Streams API - getThreadId() - Static method in interface io.github.javactrl.kafka.Workflow
-
Gets current thread
I
- init(ProcessorContext<String, String>) - Method in class io.github.javactrl.kafka.Scheduler.SchedulerProcessor
- init(ProcessorContext<String, String>) - Method in class io.github.javactrl.kafka.WorkflowProcessor
- io.github.javactrl.kafka - package io.github.javactrl.kafka
M
- main(String[]) - Static method in class io.github.javactrl.kafka.Scheduler
-
Command line entry point Expects bootstrap servers address or it's "localhost:9092" if not specified.
N
- NEW_THREAD_PREFIX - Static variable in class io.github.javactrl.kafka.WorkflowProcessor
-
A prefix for messages on resumption thread which starts a new worklow
- newVar() - Static method in interface io.github.javactrl.kafka.Workflow
-
Generates a new variable on which workflows can suspend with an unique identifier
- newVar(String) - Static method in interface io.github.javactrl.kafka.Workflow
-
Generates a new variable on which workflows can suspend with a specific local identifier
P
- process(Record<String, String>) - Method in class io.github.javactrl.kafka.Scheduler.SchedulerProcessor
- process(Record<String, String>) - Method in class io.github.javactrl.kafka.WorkflowProcessor
R
- run(String) - Method in interface io.github.javactrl.kafka.Workflow
-
The method to implement (or a lambda) for the workflow definition.
S
- Scheduler - Class in io.github.javactrl.kafka
-
Demo-only, not for production time scheduler.
- Scheduler() - Constructor for class io.github.javactrl.kafka.Scheduler
- Scheduler.SchedulerProcessor - Class in io.github.javactrl.kafka
-
Apach Kafka Streams Processor implementing the workflow run implementation
- SchedulerProcessor() - Constructor for class io.github.javactrl.kafka.Scheduler.SchedulerProcessor
- sleep(long, TimeUnit) - Static method in class io.github.javactrl.kafka.Scheduler
-
Suspends the current thread execution for the specified amount of time.
- stores() - Method in class io.github.javactrl.kafka.WorkflowProcessorSupplier
V
- Var - Class in io.github.javactrl.kafka
-
This represents a result of suspended continuation (similar to Java
Future)
W
- Workflow - Interface in io.github.javactrl.kafka
-
Functional interface for Kafka workflows definitions.
- WorkflowException - Exception in io.github.javactrl.kafka
-
Just an exception to signal various workflow's problems
- WorkflowException(String) - Constructor for exception io.github.javactrl.kafka.WorkflowException
-
Constructor
- WorkflowProcessor - Class in io.github.javactrl.kafka
-
This is the implementation of Apache Kafka Streams
org.apache.kafka.streams.processor.api.ProcessorThis Processor expects a single source with its key and value strings. - WorkflowProcessor(Workflow) - Constructor for class io.github.javactrl.kafka.WorkflowProcessor
-
Constructor
- WorkflowProcessorSupplier - Class in io.github.javactrl.kafka
-
A helper class which produces
WorkflowProcessorand also attach a store to it - WorkflowProcessorSupplier(Workflow) - Constructor for class io.github.javactrl.kafka.WorkflowProcessorSupplier
-
Constructor
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form