Local debugging #3544
-
Hello, I would like to debug the code (especially the parts that deploy a job to Flink and the parts that interprete the Model Json) locally. However it is hard for me to get all the dependencies to run. Also the config that is specified in NussknackerApp.run.xml seems outdated, since its very different to what the quickstart project deploys (for example the Flink Urls dont match). Is there an easy way to get all dependencies to run locally and connect them to local designer? Kind regards |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
What exactly do you mean by that? I see:
in NussknackerApp.run.xml and:
in quickstart. Looks like ports matches.
Yes it is described in CONTRIBUTING.md However we don't use this method too often during development. For debugging Flink execution it is more easier to write test that will be run on embedded Flink. It is described in developers guide |
Beta Was this translation helpful? Give feedback.
-
Hmm yes, I think I was wrong about Flink. So, I was trying to get the example described in flink-streaming to run with a locally started instance of the Designer. It proves to be difficult for me though. You mentioned the Contributions file. I suppose you were referring to the part where Im looking forward to your response, kind regards |
Beta Was this translation helpful? Give feedback.
-
Wow, I feel very stupid now :) I got it done, I just started the quickstart and then the local designer without stopping anything, since they run on different ports. It works fine now. Maybe the contribution readme could be a little more precise about a few things (for example it doesnt work to run the command that I mentioned in my comment earlier). But maybe it was just because I was a bit lost. Got it now, Thanks :) Kind regards |
Beta Was this translation helpful? Give feedback.
What exactly do you mean by that? I see:
in NussknackerApp.run.xml
and:
in quickstart.
Looks like ports matches.
Yes it is described in CONTRIBUTING.md