Class ChainedReaderTest
java.lang.Object
io.debezium.connector.mysql.legacy.ChainedReaderTest
- Author:
- Randall Hauch
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classAChainedReaderTest.MockReaderthat always returns all records even after this reader is manually stopped.static classAReaderthat returns records until manually stopped. -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate io.debezium.connector.mysql.legacy.ChainedReaderprivate static final List<org.apache.kafka.connect.source.SourceRecord>private static final List<org.apache.kafka.connect.source.SourceRecord>private static final List<org.apache.kafka.connect.source.SourceRecord>private static final List<org.apache.kafka.connect.source.SourceRecord>private static final List<org.apache.kafka.connect.source.SourceRecord> -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
RL1
-
RL2
-
RL3
-
RL4
-
RL5
-
SOURCE_RECORDS
-
reader
private io.debezium.connector.mysql.legacy.ChainedReader reader
-
-
Constructor Details
-
ChainedReaderTest
public ChainedReaderTest()
-
-
Method Details
-
records
-
record
private static org.apache.kafka.connect.source.SourceRecord record() -
shouldNotStartWithoutReaders
- Throws:
InterruptedException
-
shouldStartAndStopSingleReaderBeforeReaderStopsItself
- Throws:
InterruptedException
-
shouldStartSingleReaderThatStopsAutomatically
- Throws:
InterruptedException
-
shouldStartAndStopMultipleReaders
- Throws:
InterruptedException
-
shouldStartAndStopReaderThatContinuesProducingItsRecordsAfterBeingStopped
public void shouldStartAndStopReaderThatContinuesProducingItsRecordsAfterBeingStopped() throws InterruptedException- Throws:
InterruptedException
-
assertPollReturnsNoMoreRecords
- Throws:
InterruptedException
-
shouldInitAndDestroyResources
public void shouldInitAndDestroyResources()
-