andrea_radaelli
03/15/2023, 11:10 AMpat_nadolny
03/15/2023, 2:09 PMpat_nadolny
03/15/2023, 2:12 PMandrea_radaelli
03/15/2023, 2:19 PMversion: 1
default_environment: dev
project_id: <>
environments:
- name: dev
- name: staging
- name: prod
plugins:
extractors:
- name: tap-exacttarget
variant: singer-io
pip_url: tap-exacttarget
config:
batch_size: 99999999
tenant_subdomain: <>
start_date: '2023-02-01T00:00:00Z'
select:
- 'campaign.*'
- 'content_area.*'
- 'data_extension.*'
- 'email.*'
- 'event.*'
- 'folder.*'
- 'list.*'
- 'list_send.*'
- 'list_subscriber.*'
- 'send.*'
- 'subscriber.*'
loaders:
- name: target-gcs
variant: datateer
pip_url: git+<https://github.com/Datateer/target-gcs.git>
config:
bucket_name: meltano_sfmc
credentials_file: <>andrea_radaelli
03/15/2023, 2:24 PMdata_extension.* table as I want it to do.
But then this error appearsandrea_radaelli
03/15/2023, 2:24 PMmeltano elt style logging should be deprecated โ
โ 433 โ โ โ legacy_log_handler = self.output_logger.out("meltano", logger) โ
โ 434 โ โ โ with legacy_log_handler.redirect_logging(): โ
โ โฑ 435 โ โ โ โ await self.run_with_job() โ
โ 436 โ โ โ โ return โ
โ 437 โ โ else: โ
โ 438 โ โ โ logger.warning( โ
โ โ
โ C:\Users\AndreaRadaelli\Desktop\Development\Venvs\benetton_SFMC\lib\site-packages\meltano\core\b โ
โ lock\extract_load.py:461 in run_with_job โ
โ โ
โ 458 โ โ โ
โ 459 โ โ with closing(self.context.session) as session: โ
โ 460 โ โ โ asynโฆandrea_radaelli
03/15/2023, 2:25 PMpat_nadolny
03/15/2023, 2:41 PMmeltano invoke tap-exacttarget > output.json to isolate the tap and see if you can get a successful extract before bringing the target back inandrea_radaelli
03/15/2023, 4:19 PMmeltano invoke tap-exacttarget > output.json as you suggested, and I see that the output.json is beign populated. While I wait for the process to end I have a side question: I know that SFMC APIs offer a wide variety of attributes (like ClickEvent, BounceEvent and more), but I don't see them when I run meltano select tap-exacttarget --list --all. Is there a reason for that? Am I doing something wrong?pat_nadolny
03/20/2023, 3:03 PMEvents: Each of BounceEvent, ClickEvent, OpenEvent, SentEvent, UnsubEvent go into a single event table (From the repo README)andrea_radaelli
03/23/2023, 1:22 PMinvoke comand populated the output.json correctly, I can now move the file in Cloud Storage manually. I will try again in the future and see if I can do both in one run (with the uptilab2 variant as well).
Thanks for the additional explanantion about Events table, I really appreciate the insight and the patience!pat_nadolny
03/23/2023, 2:05 PMcat output.json | meltano invoke target-gcs to independently test the loader.