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

MySql connector may leak connection if binlog configuration is invalid

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • 2.4-backlog
    • 2.1.3.Final
    • mysql-connector
    • None
    • False
    • None
    • False
    • Important

    Description

      In order to make your issue reports as actionable as possible, please provide the following information, depending on the issue type.

      Bug report

      For bug reports, provide this information, please:

      What Debezium connector do you use and what version?

      MySql Connector

      io.debezium:debezium-connector-mysql:2.1.3.Final:jar

      What is the connector configuration?

      any `mysqld` configuration where:

      1. binlog_format != ROW 

      2. binlog_row_image != FULL

      eg.:

      ```

      [mysqld]
      server-id         = 223344
      log_bin           = mysql-bin
      binlog_format     = STATEMENT
      binlog_row_image  = FULL

      ```

      NOTE: "STATEMENT" != "ROW"

      Will make `io.debezium.connector.mysql.MySqlConnectorTask#validateBinlogConfiguration()` throw before closing the connection.

      What is the captured database version and mode of deployment?

      N/A

      What behaviour do you expect?

      closing the connection to avoid a leak

      What behaviour do you see?

      connection is not closed

      Do you see the same behaviour using the latest relesead Debezium version?

      (Ideally, also verify with latest Alpha/Beta/CR version)

      <Your answer>

      Do you have the connector logs, ideally from start till finish?

      (You might be asked later to provide DEBUG/TRACE level log)

      <Your answer>

      How to reproduce the issue using our tutorial deployment?

      <Your answer>

      Feature request or enhancement

      For feature requests or enhancements, provide this information, please:

      Which use case/requirement will be addressed by the proposed feature?

      <Your answer>

      Implementation ideas (optional)

      <Your answer>

      Attachments

        Activity

          People

            Unassigned Unassigned
            shlomi@upsolver.com Shlomi Hazan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: