Class KeepCaptureModeAfterRestartIT

  • All Implemented Interfaces:
    Testing

    public class KeepCaptureModeAfterRestartIT
    extends AbstractMongoConnectorIT
    Integration test that verifies that if the capture mode is reconfigured it stays the same as the one stored in offsets.
    Author:
    Jiri Pechanec
    • Field Detail

      • rule

        public final org.junit.rules.TestRule rule
    • Constructor Detail

      • KeepCaptureModeAfterRestartIT

        public KeepCaptureModeAfterRestartIT()
    • Method Detail

      • changeStreamsToOplog

        public void changeStreamsToOplog()
                                  throws Exception
        Throws:
        Exception
      • oplogToChangeStreams

        public void oplogToChangeStreams()
                                  throws Exception
        Throws:
        Exception
      • testSwitch

        public void testSwitch​(io.debezium.connector.mongodb.MongoDbConnectorConfig.CaptureMode from,
                               io.debezium.connector.mongodb.MongoDbConnectorConfig.CaptureMode to)
                        throws InterruptedException
        Throws:
        InterruptedException