com.scylladb.cdc.transport.MasterTransport Maven / Gradle / Ivy
package com.scylladb.cdc.transport;
import java.util.Map;
import java.util.Optional;
import java.util.Set;
import java.util.SortedSet;
import com.scylladb.cdc.model.GenerationId;
import com.scylladb.cdc.model.StreamId;
import com.scylladb.cdc.model.TaskId;
import com.scylladb.cdc.model.Timestamp;
public interface MasterTransport {
Optional getCurrentGenerationId();
boolean areTasksFullyConsumedUntil(Set tasks, Timestamp until);
void configureWorkers(Map> workerConfigurations) throws InterruptedException;
}