Search in sources :

Example 1 with TestHudiWriterProvider

use of org.apache.hudi.helper.TestHudiWriterProvider in project hudi by apache.

the class TestConnectTransactionParticipant method initializeParticipant.

private void initializeParticipant() {
    testHudiWriterProvider = new TestHudiWriterProvider();
    participant = new ConnectTransactionParticipant(partition, kafkaControlAgent, mockKafkaConnect, testHudiWriterProvider);
    mockKafkaConnect.setParticipant(participant);
    participant.start();
}
Also used : TestHudiWriterProvider(org.apache.hudi.helper.TestHudiWriterProvider) ConnectTransactionParticipant(org.apache.hudi.connect.transaction.ConnectTransactionParticipant)

Aggregations

ConnectTransactionParticipant (org.apache.hudi.connect.transaction.ConnectTransactionParticipant)1 TestHudiWriterProvider (org.apache.hudi.helper.TestHudiWriterProvider)1