Hi Marco,
this is not possible since Flink is designed mostly to read files from a
distributed filesystem, where paths are used to refer to those files. If
you read from files on the classpath you could just use plain old Java
code and won't need a distributed processing system such as Flink.
Best,
Aljoscha
On 16.06.20 06:46, Marco Villalobos wrote:
Does Flink support reading files or CSV files from java.io.InputStream instead
of file paths?
I'd rather just store my file on the class path and load it with
java.lang.ClassLoader#getResourceAsStream(String).
If there is a way, I'd appreciate an example.