singer-io/tap-postgres

[Question] The --state flag is not saving consecutive

Closed this issue · 0 comments

Hi, I am running the tap-postgres as follows.

~/.virtualenvs/tap-postgres/bin/tap-postgres -c postgres_config/tap_postgres_config.json --properties catalog_id.json --state state_id.json | ~/.virtualenvs/target-postgresql/bin/target-postgres -c target_postgres_config.json

But in the state.json the last record is not being written, for that reason it always uses the same records and not from the last id.

This is the structure of the state.json. Do you know what is missing ??

{
  "bookmarks": {
    "ebdb-public-zone_class": {
      "replication_key": "updated_at", 
      "version": 1600725425036,
      "replication_key_value": 0
    }
  }
}