Meisam Ebrahimi
11/27/2024, 2:49 PMEdgar RamĂrez (Arch.dev)
11/27/2024, 5:31 PMstate's are not being savedMaybe you're using a different state backend locally and states are not in the expected place. Otherwise how are you validating that states are saved in prod but not in your local environment?
Meisam Ebrahimi
11/27/2024, 5:41 PMextract/
directory. I can't seem to get the states to be picked up on the re-run:
plugins:
extractors:
- name: tap-example
namespace: tap_example
pip_url: -e extract/tap-example
executable: tap-example
config:
accounts: x
start_date: '2024-11-11T00:00:00Z'
When I run meltano state get dev:tap-example-to-target-example
I get the below results:
2024-11-27 17:30:52 | INFO | meltano.core.project | {'event': "Environment 'dev' is active", 'level': 'info', 'timestamp': '2024-11-27T17:30:52.267938Z'}
2024-11-27 17:30:52 | INFO | meltano.core.project | {'event': "Environment 'dev' is active", 'level': 'info', 'timestamp': '2024-11-27T17:30:52.783381Z'}
2024-11-27 17:30:53 | WARNING | meltano.cli.state | {'event': 'No plugins found for provided state_id.', 'level': 'warning', 'timestamp': '2024-11-27T17:30:53.050213Z'}
2024-11-27 17:30:53 | WARNING | meltano.cli.state | {'event': 'No plugins found for provided state_id.', 'level': 'warning', 'timestamp': '2024-11-27T17:30:53.050213Z'}
{"singer_state": {"bookmarks": {"example_table": {"replication_key": "start_date", "replication_key_value": "2024-11-25T00:00:00+00:00"}}}}
The warnings that it cannot find the plugin is something I'm not quite getting. Are locally installed plugins problematic when it comes to states?Edgar RamĂrez (Arch.dev)
11/27/2024, 5:49 PMcapabilities
field to your custom tap:
plugins:
extractors:
- name: tap-example
namespace: tap_example
pip_url: -e extract/tap-example
executable: tap-example
capabilities
- discover
- catalog
- state
config:
accounts: x
start_date: '2024-11-11T00:00:00Z'
If that works, we have a few issues for alternative ways we can solve for the need to define these:
• https://github.com/meltano/meltano/issues/7156
• https://github.com/meltano/meltano/issues/7265
• https://github.com/meltano/meltano/issues/2986
and feel free to 👍 any that would improve your experience developing a custom tap.Meisam Ebrahimi
11/27/2024, 5:55 PM