AbstractTaskCreator
is the base of task creators (factories) that can create stream processor tasks.
Method | Description |
---|---|
|
T createTask(
Consumer<byte[], byte[]> consumer,
TaskId id,
Set<TopicPartition> partitions) Creates a task Used exclusively when |
Note
|
AbstractTaskCreator is a Java abstract class and cannot be created directly. It is created indirectly when the concrete AbstractTaskCreators are.
|
AbstractTaskCreator | Description |
---|---|
Creates standby tasks |
|
Creates stream tasks |
Collection<T> createTasks(
Consumer<byte[], byte[]> consumer,
Map<TaskId, Set<TopicPartition>> tasksToBeCreated)
createTasks
…FIXME
AbstractTaskCreator
takes the following when created: