{
  "name": "mining-outbox-connector",
  "config": {
    "connector.class": "io.debezium.connector.postgresql.PostgresConnector",
    "tasks.max": "1",

    "database.hostname": "postgres",
    "database.port": "5432",
    "database.user": "rwa_user",
    "database.password": "your_secure_password_here",
    "database.dbname": "rwa_mining",

    "topic.prefix": "cdc.mining",

    "table.include.list": "public.outbox_events",

    "plugin.name": "pgoutput",
    "publication.name": "debezium_mining_outbox_publication",
    "publication.autocreate.mode": "filtered",

    "slot.name": "debezium_mining_outbox_slot",

    "key.converter": "org.apache.kafka.connect.json.JsonConverter",
    "key.converter.schemas.enable": "false",
    "value.converter": "org.apache.kafka.connect.json.JsonConverter",
    "value.converter.schemas.enable": "false",

    "transforms": "unwrap,route",
    "transforms.unwrap.type": "io.debezium.transforms.ExtractNewRecordState",
    "transforms.unwrap.drop.tombstones": "true",
    "transforms.unwrap.delete.handling.mode": "rewrite",
    "transforms.unwrap.add.fields": "op,table,source.ts_ms",
    "transforms.route.type": "org.apache.kafka.connect.transforms.RegexRouter",
    "transforms.route.regex": ".*",
    "transforms.route.replacement": "cdc.mining.outbox",

    "heartbeat.interval.ms": "10000",

    "snapshot.mode": "initial",

    "decimal.handling.mode": "string",
    "time.precision.mode": "connect"
  }
}
