Class AbstractMongoIT

    • Field Detail

      • logger

        protected static final org.slf4j.Logger logger
      • context

        protected io.debezium.connector.mongodb.MongoDbTaskContext context
      • replicaSet

        protected io.debezium.connector.mongodb.ReplicaSet replicaSet
      • primary

        protected io.debezium.connector.mongodb.ConnectionContext.MongoPrimary primary
    • Constructor Detail

      • AbstractMongoIT

        public AbstractMongoIT()
    • Method Detail

      • beforeEach

        public void beforeEach()
      • useConfiguration

        protected void useConfiguration​(Configuration config)
        A method that will initialize the state after the configuration is changed.
        Parameters:
        config - the configuration; may not be null
      • reuseConfiguration

        protected void reuseConfiguration​(Configuration config)
        A method that will initialize the state after the configuration is changed, reusing the same partition offsets that were previously used.
        Parameters:
        config - the configuration; may not be null
      • initialize

        private void initialize​(boolean restartFromBeginning)
        A method that will initialize the state after the configuration is changed.
        Parameters:
        restartFromBeginning - true if the context should have no prior partition offsets, or false if the partition offsets that exist at this time should be reused
      • afterEach

        public void afterEach()