Class 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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Task migratedTask()  
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • 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()