hazelcast-jet
hazelcast-jet copied to clipboard
Enhancement, PythonServiceConfig could support classpath resources
In PythonServiceConfig
, the method setBaseDir(@Nonnull String baseDir)
requires the Python modules be filesystem resources.
It would be useful if these could also be classpath resources, as this would easy deployment to Docker environments.
Ie. if the application held the Python modules in src/main/resources
+1
As a little hacky workaround I'm extracting 'python' directory from Jar to local file system, which then could be read by Jet at startup