Package org.apache.kafka.streams.errors
Class TaskMigratedException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.apache.kafka.common.KafkaException
-
- org.apache.kafka.streams.errors.StreamsException
-
- org.apache.kafka.streams.errors.TaskMigratedException
-
- All Implemented Interfaces:
java.io.Serializable
public class TaskMigratedException extends StreamsException
Indicates that a task got migrated to another thread. Thus, the task raising this exception can be cleaned up and closed as "zombie".- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TaskMigratedException()
TaskMigratedException(Task task)
TaskMigratedException(Task task, java.lang.Throwable throwable)
TaskMigratedException(Task task, org.apache.kafka.common.TopicPartition topicPartition, long endOffset, long pos)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Task
migratedTask()
-
-
-
Constructor Detail
-
TaskMigratedException
public TaskMigratedException()
-
TaskMigratedException
public TaskMigratedException(Task task, org.apache.kafka.common.TopicPartition topicPartition, long endOffset, long pos)
-
TaskMigratedException
public TaskMigratedException(Task task)
-
TaskMigratedException
public TaskMigratedException(Task task, java.lang.Throwable throwable)
-
-
Method Detail
-
migratedTask
public Task migratedTask()
-
-