rustcdc 0.6.7

Embeddable Rust CDC library focused on correctness-first capture primitives
Documentation
[
  {
    "before": null,
    "after": {
      "fixture_seq": 0,
      "marker_type": "control_event",
      "source_message": "Control"
    },
    "op": "read",
    "source": {
      "source_name": "sqlserver",
      "offset": "fixture_seq_0",
      "timestamp": 1700000000000
    },
    "ts": 1700000000000,
    "schema": null,
    "table": "__marker__control_event",
    "primary_key": null,
    "snapshot": null,
    "transaction": null,
    "envelope_version": 1
  },
  {
    "before": null,
    "after": {
      "id": 100,
      "status": "new"
    },
    "op": "insert",
    "source": {
      "source_name": "sqlserver",
      "offset": "fixture_seq_1",
      "timestamp": 1700000000001
    },
    "ts": 1700000000001,
    "schema": "dbo",
    "table": "orders",
    "primary_key": [
      "id"
    ],
    "snapshot": null,
    "transaction": null,
    "envelope_version": 1
  },
  {
    "before": null,
    "after": {
      "ddl_type": "ALTER_TABLE",
      "schema": "dbo",
      "schema_diff": {
        "operations": [
          {
            "AddColumn": {
              "column": {
                "constraints": [],
                "data_type": "INT",
                "name": "priority",
                "nullable": true
              }
            }
          },
          {
            "DropColumn": {
              "name": "legacy_status"
            }
          }
        ]
      },
      "statement": "ALTER TABLE [dbo].[orders] ADD [priority] INT, DROP COLUMN IF EXISTS [legacy_status];",
      "table": "orders"
    },
    "op": "schema_change",
    "source": {
      "source_name": "sqlserver",
      "offset": "fixture_seq_2",
      "timestamp": 0
    },
    "ts": 1700000000002,
    "schema": "dbo",
    "table": "orders__ddl_events",
    "primary_key": null,
    "snapshot": null,
    "transaction": null,
    "envelope_version": 1
  },
  {
    "before": {
      "id": 100,
      "status": "new"
    },
    "after": {
      "id": 100,
      "priority": 1,
      "status": "packed"
    },
    "op": "update",
    "source": {
      "source_name": "sqlserver",
      "offset": "fixture_seq_3",
      "timestamp": 1700000000003
    },
    "ts": 1700000000003,
    "schema": "dbo",
    "table": "orders",
    "primary_key": [
      "id"
    ],
    "snapshot": null,
    "transaction": null,
    "envelope_version": 1
  },
  {
    "before": {
      "id": 100,
      "priority": 1,
      "status": "packed"
    },
    "after": null,
    "op": "delete",
    "source": {
      "source_name": "sqlserver",
      "offset": "fixture_seq_4",
      "timestamp": 1700000000004
    },
    "ts": 1700000000004,
    "schema": "dbo",
    "table": "orders",
    "primary_key": [
      "id"
    ],
    "snapshot": null,
    "transaction": null,
    "envelope_version": 1
  }
]