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

How to force a re-snapshot of mysql data with debezium connector?

    XMLWordPrintable

Details

    • Task
    • Resolution: Done
    • Major
    • None
    • 0.10.0.Final
    • mysql-connector
    • None

    Description

      I'm trying to figure out how to force a snapshot of an existing mysql connector. I can't seem to find anything in the documentation about it. My current use case is that we have a staging database that is stale most of the time. I'm testing a few of these connectors and one of the tests is to make sure the consumers on the other side of the debezium topic can handle a new snapshot.

      Here's what I've tried so far:

      • curl -X DELETE the connector
      • delete the debezium topic
      • curl -X POST the connector config to create it

      When I do the above, the API returns 201 and I can see that the connector was created, but the topic itself is empty. The status is RUNNING, but it doesn't seem to actually do anything.

      Attachments

        Activity

          People

            Unassigned Unassigned
            jonslusher Jon Slusher
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: