I know there have been a few questions in the past...
# announcements
j
I know there have been a few questions in the past about running the same tap under multiple configurations (e.g. multiple Shopify stores, Facebook accounts, etc.). Is there some reason a
meltano.yml
like this wouldn't solve that problem?
Copy code
plugins:
  extractors:
  - name: tap-google-analytics-site-1
    label: Google Analytics Site 1
    pip_url: git+<https://gitlab.com/meltano/tap-google-analytics.git>
    config:
      view_id: 123456789
      key_file_location: $GOOGLE_ANALYTICS_API_SITE_1_CLIENT_SECRETS
  - name: tap-google-analytics-site-2
    label: Google Analytics Site 2
    pip_url: git+<https://gitlab.com/meltano/tap-google-analytics.git>
    config:
      view_id: 987654321
      key_file_location: $GOOGLE_ANALYTICS_API_SITE_2_CLIENT_SECRETS
meltano elt tap-google-analytics-site-1 target-postgres
meltano elt tap-google-analytics-site-2 target-postgres
a
That's how we handle it
The downside is that the tap is installed multiple times, so if you have limited storage space then you have a problem. But this approach is working fine for us
j
Thanks @adam_roderick!