T createTask(
Consumer<byte[], byte[]> consumer,
TaskId id,
Set<TopicPartition> partitions)
AbstractTaskCreator
AbstractTaskCreator
is the base of task creators (factories) that can create stream processor tasks.
Method | Description |
---|---|
|
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 |
Creating Tasks — createTasks
Method
Collection<T> createTasks(
Consumer<byte[], byte[]> consumer,
Map<TaskId, Set<TopicPartition>> tasksToBeCreated)
createTasks
…FIXME