Apache Flink - set plugin folder for local development from IDE (IntelliJ IDEA)

Viewed 175

Is it possible to override the location of Apache Flink's plugins folder to a local development environments folder in order to load them from the IntelliJ IDEAs IDE?

I tried to set the env. variable in the Run/debug configurations:

FLINK_PLUGINS_DIR="c:\flink-plugins\"
println("PluginsDir " + PluginConfig.getPluginsDir)

The output is:

WARN  org.apache.flink.core.plugin.PluginConfig                    [] - The plugins directory ["c:\flink-plugins\"] does not exist.
PluginsDir Optional.empty

Does anyone know how to load Apache Flink plugins from an IDE?

0 Answers
Related