use of org.apache.hudi.helper.MockKafkaConnect in project hudi by apache.
the class TestConnectTransactionParticipant method setUp.
@BeforeEach
public void setUp() throws Exception {
partition = new TopicPartition(TOPIC_NAME, PARTITION_NUMBER);
kafkaControlAgent = new MockKafkaControlAgent();
mockKafkaConnect = new MockKafkaConnect(partition);
mockCoordinator = new MockCoordinator(kafkaControlAgent);
mockCoordinator.start();
configs = KafkaConnectConfigs.newBuilder().build();
initializeParticipant();
}
Aggregations