hazelcast-jet icon indicating copy to clipboard operation
hazelcast-jet copied to clipboard

Enhancement, PythonServiceConfig could support classpath resources

Open neilstevenson opened this issue 5 years ago • 1 comments

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

neilstevenson avatar Jan 31 '20 13:01 neilstevenson

+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

mario45211 avatar Aug 28 '20 08:08 mario45211