String applicationId()
Task Contract — Stream Processor Tasks
Task
is the abstraction of stream processor tasks.
Method | Description |
---|---|
|
Application ID of the Kafka Streams application the task belongs to |
|
Changelog partitions associated with the task Used when:
|
|
Closes the task Used when:
|
|
Used when:
|
|
Commits the task Used when:
|
|
Used when:
|
|
ProcessorContext of the task |
|
Looks up the state store by name Used exclusively when |
|
|
|
TaskId of the task |
|
Initializes state stores (of the ProcessorTopology) Enabled (
Used exclusively when |
|
Initializes the topology of processor nodes Used exclusively when |
|
Used when:
|
|
Resumes the task Used exclusively when |
|
|
|
ProcessorTopology of the task |
|
Describes the task (textual representation) |
Note
|
AbstractTask is the base implementation of the Task Contract in Kafka Streams (with StandbyTask and StreamTask as the only concrete implementations). |