All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.transferwise.tasks.triggering.TaskTriggering Maven / Gradle / Ivy

The newest version!
package com.transferwise.tasks.triggering;

import com.transferwise.tasks.domain.BaseTask;
import lombok.Data;
import lombok.experimental.Accessors;
import org.apache.kafka.common.TopicPartition;

@Data
@Accessors(chain = true)
public class TaskTriggering {

  private BaseTask task;
  private long offset;
  private long sequence;
  private TopicPartition topicPartition;
  private String bucketId;

  public boolean isSameProcessTrigger() {
    return topicPartition == null;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy