Uploaded image for project: 'Debezium'
  1. Debezium
  2. DBZ-880

MySQLConnectorTask always reports it has the required Binlog file from MySQL

XMLWordPrintable

      The MySQLConnectorTask currently always reports that it has found the required binlog from MySQL. If the binlog is not found it prints an additional log message.

      boolean found = logNames.stream().anyMatch(binlogFilename::equals);
              if (!found) {
                  logger.info("Connector requires binlog file '{}', but MySQL only has {}", binlogFilename, String.join(", ", logNames));
              }
              logger.info("MySQL has the binlog file '{}' required by the connector", binlogFilename);
      

      I believe an else block just needs to be added.

              Unassigned Unassigned
              cliff_wheadon_work Cliff Wheadon (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: