Uploaded image for project: 'MariaDB MaxScale'
  1. MariaDB MaxScale
  2. MXS-5540

Allow KafkaCDC to read binlogs from a slave

    XMLWordPrintable

Details

    • New Feature
    • Status: Open (View Workflow)
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • cdc

    Description

      Hi,

      is it possible for KafkaCDC router to read binlogs from slave?

      I have master-slave replication with binlog_format=MIXED. I want to create new Maxcale instance that will read from one slave, which has binlogs in ROW format.

      When i set the slave to the KafkaCDC servers config parameter, no events are sent to the Kafka. No error messages are in the log.

      [Kafka-CDC]
      type=service
      router=kafkacdc
      servers=db-addr-03
      user=user
      password=pwd
      server_id=1
      bootstrap_servers=cluster-kafka-bootstrap.kafka:9092
      topic=db-data-changes
      gtid=newest
      read_gtid_from_kafka=false
      match=/regex/
      

      The db-addr-03 is address of the slave with binlogs enabled in ROW format. Binary logs on the slave are present.

      Is reading binlogs from slave even supported, or does it have to be from master?

      Thanks.

      Attachments

        Activity

          People

            Unassigned Unassigned
            tobolleo Leoš Tobolka
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.