Class BinlogReaderIT


  • public class BinlogReaderIT
    extends Object
    Author:
    Randall Hauch
    • Constructor Detail

      • BinlogReaderIT

        public BinlogReaderIT()
    • Method Detail

      • beforeEach

        public void beforeEach()
      • afterEach

        public void afterEach()
      • shouldCreateSnapshotOfSingleDatabase

        public void shouldCreateSnapshotOfSingleDatabase()
                                                  throws Exception
        Throws:
        Exception
      • shouldCreateSnapshotOfSingleDatabaseWithSchemaChanges

        public void shouldCreateSnapshotOfSingleDatabaseWithSchemaChanges()
                                                                   throws Exception
        Throws:
        Exception
      • shouldFilterAllRecordsBasedOnDatabaseWhitelistFilter

        @FixFor("DBZ-1206")
        public void shouldFilterAllRecordsBasedOnDatabaseWhitelistFilter()
                                                                  throws Exception
        Setup a DATABASE_WHITELIST filter that filters all events. Verify all events are properly filtered. Verify numberOfFilteredEvents metric is incremented correctly.
        Throws:
        Exception
      • shouldFilterAllRecordsBasedOnDatabaseIncludeListFilter

        @FixFor("DBZ-1206")
        public void shouldFilterAllRecordsBasedOnDatabaseIncludeListFilter()
                                                                    throws Exception
        Setup a DATABASE_INCLUDE_LIST filter that filters all events. Verify all events are properly filtered. Verify numberOfFilteredEvents metric is incremented correctly.
        Throws:
        Exception
      • shouldHandleTimestampTimezones

        @FixFor("DBZ-183")
        public void shouldHandleTimestampTimezones()
                                            throws Exception
        Throws:
        Exception
      • shouldHandleMySQLTimeCorrectly

        @FixFor("DBZ-342")
        public void shouldHandleMySQLTimeCorrectly()
                                            throws Exception
        Throws:
        Exception
      • shouldFailOnSchemaInconsistency

        public void shouldFailOnSchemaInconsistency()
                                             throws Exception
        Throws:
        Exception
      • shouldWarnOnSchemaInconsistency

        public void shouldWarnOnSchemaInconsistency()
                                             throws Exception
        Throws:
        Exception
      • shouldIgnoreOnSchemaInconsistency

        public void shouldIgnoreOnSchemaInconsistency()
                                               throws Exception
        Throws:
        Exception
      • shouldFailOnUnknownTlsProtocol

        @FixFor("DBZ-1208")
        public void shouldFailOnUnknownTlsProtocol()
      • shouldAcceptTls12

        @FixFor("DBZ-1208")
        public void shouldAcceptTls12()
      • productsTableName

        private String productsTableName()