https://meltano.com/ logo
#announcements
Title
# announcements
d

dry-city-1354

02/08/2021, 8:14 PM
Hello all. I'm working on a meltano project that involves a number of
--custom
taps and targets (github, redshift, etc). I want to leverage Meltano's data integration functionality through the
meltano etl
command with these custom plugins, but the plugins expect their configuration as .json files with a path specified in the invocation of the plugin. For example, this works (cutting meltano out of the loop): `
Copy code
~/.virtualenvs/tap-something/bin/tap-something \
  | ~/.virtualenvs/target-redshift/bin/target-redshift \
    --config ~/singer.io/target_redshift_config.json
Is there any way to make these plugins play nice with the
meltano etl
command as part of a data integration pipeline? I've tried setting environment variables for these configurations, but the plugins don't seem to like that. Any help appreciated :)
1
My pal @best-salesmen-65229 suggested I ping @ripe-musician-59933 for thoughts on this. It seems like maybe just something I'm missing?
r

ripe-musician-59933

02/08/2021, 8:18 PM
@dry-city-1354 Meltano knows that Singer taps and targets expect a
--config
option pointing at a
config.json
file, so it will automatically generate the files and invoke the executables as appropriate when you run
meltano elt
. You can see the exact commands that are executed by
meltano elt
when you enable debug mode:
meltano --log-level=debug elt ...
You can see the configuration that is passed to the plugin when you run
meltano config <plugin>
. Does that show the correct configuration for your tap and target?
d

dry-city-1354

02/08/2021, 8:23 PM
I'll take a look and report back. Thanks for the help!
@ripe-musician-59933 I got it working. It was mostly the Singer tap for github that was giving me problems. Might take a look and try to update that tap 🤔
Thanks for the guidance!
r

ripe-musician-59933

02/12/2021, 1:37 AM
@dry-city-1354 Thanks for the update, glad you figured it out!