Re: HDFS to Kafka
Posted by
Aljoscha Krettek on
URL: http://deprecated-apache-flink-user-mailing-list-archive.369.s1.nabble.com/HDFS-to-Kafka-tp7932p7950.html
Hi,
this does not work right now because FileInputFormat does not allow setting the "enumerateNestedFiles" field directly and the Configuration is completely ignored in Flink streaming jobs.
Cheers,
Aljoscha
Hi Dominique,
In Flink 1.1 we've reworked the reading of static files in the DataStream API.
There is now a method for passing any FileInputFormat: readFile(fileInputFormat, path, watchType, interval, pathFilter, typeInfo).
I guess you can pass a FileInputFormat with the recursive enumeration enabled there.
Regards,
Robert