alex_dimov
12/08/2022, 8:04 PMmeltano add utility dagster
2. meltano invoke dagster:initialize
3. pip install dagster_meltano
then I wanted to understand how everything works, but when I went to meltano_project/orchestrate/dagster/repository.py I see an import error there. Someone knows what's the matter? Does anyone have a working example of the correct usage.
To be honest, now I don't understand what meltano invoke dagster:describe [args...] is used for.
Is there some more detailed documentation about this somewhere?
I will be glad if you can answer and give a couple of recommendations on how to properly start using it.
I thought maybe some magic was going on and I just need to run meltano invoke dagster:start, but as I expected, I got an empty dagsterchristoph
12/08/2022, 8:13 PM3.I don't think that thispip install dagster_meltano
pip install
would do any good.christoph
12/08/2022, 8:14 PMI thought maybe some magic was going on and I just need to run meltano invoke dagster:start,Yup. That's the idea behind having it all as a meltano extension
christoph
12/08/2022, 8:15 PMmeltano job list
here?alex_dimov
12/08/2022, 8:21 PMalex_dimov
12/08/2022, 8:24 PMchristoph
12/08/2022, 8:33 PMbut i run it because i found it on readme.Ah. I see. I think it would be better if the README said
pipx install meltano
(which is probably superfluous because anyone reading the README already should have run that command)
And THEN, what really needs to happen is probably to inject the dagster binaries into the same meltano pipx environment with
pipx inject --include-apps meltano dagster
christoph
12/08/2022, 8:35 PMAnd meltano job list is empty for meThen your dagster job list will be empty too
alex_dimov
12/08/2022, 8:37 PMchristoph
12/08/2022, 8:42 PMBut I still don't understand why I see an import errorWhen you run
meltano add utility dagster
, the dagster_meltano
python module gets installed into a virtualenv that is managed by meltano in the .meltano
folder.
It's not installed into any PYTHONPATH that would be available to your editor.
If you want to do development on the dagster extension itself, or even just do development on the dagster_meltano
package alone without the extension, you would need a slightly different development set up compared to how a "user" would install the dagster extension.alex_dimov
12/08/2022, 8:45 PMalex_dimov
12/08/2022, 8:48 PMalex_dimov
12/08/2022, 9:01 PMchristoph
12/08/2022, 9:10 PMIs I need create dagster.yml?You can ignore the warning for now. When it comes to the point where you think you will need a dagster.yml file, you can always create one at that point.
christoph
12/08/2022, 9:12 PMIs it possible to make it so that on the UI of the dagster I see 3 separate instances (for each stream), and not 1 like here?I think that this was something that Jules had in his original Proof of Concept, but the feature was using internal python function calls, which are not considered stable APIs. And I remember him saying something about the need for Meltano to add some more stable APIs for this functionality. I might be slightly wrong on that.
alex_dimov
12/08/2022, 9:14 PMchristoph
12/08/2022, 9:18 PMDo I understand correctly that I can’t divide my 3 streams into 3 separate tasks in any wayRegarding your other question in the #CMN8HELB0 channel. The common practice of configuring different
select
extras to match your business requirements is to create multiple inherited plugins from your tap. And then configure different select
extras for each of the inherited child taps. Then you create different jobs, using the child taps in the job definitions. And these jobs can have different schedules.christoph
12/08/2022, 9:19 PMalex_dimov
12/08/2022, 9:41 PMalex_dimov
12/08/2022, 9:41 PMchristoph
12/08/2022, 9:50 PMjules_huisman
12/08/2022, 9:59 PMdagster-meltano
repo is an older project which is separate from the dagster_meltano
the extension installs (this is a bit confusing, and I will change this in the future).
The previous screenshot you saw was indeed a proof of concept and currently depends on a feature the meltano team is developing. At that point I will be able to create Dagster assets for the individual streams.christoph
12/09/2022, 12:06 AMThe previous screenshot you saw was indeed a proof of concept and currently depends on a feature the meltano team is developing. At that point I will be able to create Dagster assets for the individual streams.Can't wait for that to become available 😁 @jules_huisman: What's your preferred way for collecting feedback for the
dagster_meltano
functionality? Should I open GH Issues in the dagster-ext
repo for any feature ideas or questions that I have?jules_huisman
12/09/2022, 7:38 AMalex_dimov
12/09/2022, 3:13 PMyou can configure authentication settings in the parent plugin definition and all children will inherit that authentication config from the parent@christoph Is I need do something for it? Or will accessToken be automatically inherited from the parent?
alex_dimov
12/09/2022, 3:23 PMalex_dimov
12/09/2022, 3:37 PMalex_dimov
12/09/2022, 3:40 PM