cristian
10/06/2020, 11:13 PMdouwe_maan
10/06/2020, 11:16 PMdefault_replication_method setting to INCREMENTAL instead of FULL_TABLE ? I expect it to work correctly as long as you specify a --job_id option on your meltano elt call (see https://meltano.com/docs/integration.html#pipeline-state).cristian
10/06/2020, 11:19 PMcristian
10/06/2020, 11:19 PMcristian
10/06/2020, 11:19 PMcristian
10/06/2020, 11:20 PMdouwe_maan
10/06/2020, 11:21 PMmeltano elt tap-postgres target-postgres --job_id=pg-to-pgdouwe_maan
10/06/2020, 11:21 PMcristian
10/06/2020, 11:23 PMdouwe_maan
10/06/2020, 11:24 PMmeltano config tap-postgres set <setting> <value> or directly add env vars to .env as suggested under https://gitlab.com/meltano/meltano/-/blob/master/docs/src/tutorials/postgres-with-postgres.md#adding-a-custom-extractor, if you scroll down to .envcristian
10/06/2020, 11:41 PMdouwe_maan
10/06/2020, 11:43 PMdouwe_maan
10/06/2020, 11:45 PMcristian
10/07/2020, 1:47 PMmeltano elt tap-postgres target-postgres --job_id test_meltano but it gives me the following error.cristian
10/07/2020, 1:47 PMcristian
10/07/2020, 1:49 PMcristian
10/07/2020, 1:50 PMdouwe_maan
10/07/2020, 3:45 PMmd_map.get(('properties', replication_key)) is None , meaning that no metadata exists for the configured replication_key in the stream in question.
A few lines up in the output, it says that the stream cars_dev-public-brands has replication key None , which is coming from https://github.com/singer-io/tap-postgres/blob/c8e5fc5a9619df59df769abc96fd28a88a17a250/tap_postgres/__init__.py#L458. Obviously, a None replication key won't work, and this explains the error you're seeing.
It looks like default_replication_key is not actually used, and that a replication-key metadata should really be set for each stream.
You can set it for all streams in one by changing zone_class under metadata to '*' , so that it will match all streams and set the metadata for all of them. Can you give that a try?cristian
10/07/2020, 3:54 PMcristian
10/07/2020, 3:54 PMdouwe_maan
10/07/2020, 4:03 PMmeltano select : https://meltano.com/docs/integration.html#selecting-entities-and-attributes-for-extractiondouwe_maan
10/07/2020, 4:03 PMcristian
10/09/2020, 3:04 PMcristian
10/09/2020, 3:07 PM"TAP_PG_DATABASE", I imagine that for postgres or oracle it will be necessary for me to create something like "TAP_MY_DATABASE". In my case I am doing a wizard for the company where I work, the idea is that only with the graphical interface they configure the source db and dentin to be synchronized by singer taps, they program a date and time to do this. But I see that it will be difficult since it is necessary to modify the meltano.yml by hand or I do not know if there is any convention to standardize?douwe_maan
10/13/2020, 5:28 PMTAP_<DB>_<SETTING>. You can use meltano config <plugin> list to list all settings and the env vars you can use.
As for a graphical interface, did you see that Meltano has a UI as well with a configuration interface? https://meltano.com/docs/ui.html#extractor-configuration 🙂