Debugging doesn't work inside functions. #3362
-
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
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:
Hope it helps, |
Beta Was this translation helpful? Give feedback.
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: