Skip to content

Debugging doesn't work inside functions. #3362

Answered by mproch
mhussain-1 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi and welcome :)

If you are running scenarios in external Flink (e.g. in Docker container) the code of functions (sources, custom filters etc.) is not executed in the JVM of Nussknacker Designer, but is sent (as .jar files) to Flink JobManager JVM (there the sourceStream function is executed) and later to Flink TaskManagers JVMs (there the flatMap is executed when the process is running).

https://nightlies.apache.org/flink/flink-docs-release-1.15/docs/concepts/flink-architecture/ - please have a look at this description (Nussknacker sends and deploys Flink job via REST API)

If you want to debug those functions you can either:

  • attach debugger remotely to JobManager or TaskManager (see e.g.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by dswiecki
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants