NFS(Netapp 服务器)->Flink ->s3 [英] NFS (Netapp server)-> Flink ->s3

查看:73
本文介绍了NFS(Netapp 服务器)->Flink ->s3的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是 flink (java) 的新手,并试图将作为文件路径安装的 netapp 文件服务器上的 xml 文件移动到安装了 flink 的服务器上.

I am new to flink (java)and trying to move xml files on a netapp file server mounted as a file path onto server that flink is installed.

如何实时进行批处理或流处理以获取进入文件夹的文件并使用 s3 将其接收.

How to do batch or stream processing in real time to fetch files coming to the folder and sink it with s3.

我在 flink-starter 中找不到任何从本地文件系统读取文件的示例,flink 至少是这个用例的正确选择吗?如果是这样,我在哪里可以找到资源来收听文件夹和管理检查点/保存点?

I couldn't find any examples in flink-starter to read files from local file system, is flink atleast a right choice to this use case? If so where can I find resources to listen to folder and manage checkpoints/ save points?

推荐答案

此问题的完整工作代码在以下链接中.您需要启用检查点以将 .inprogress 文件移动到实际文件

Full working code for this question is in the following link . You need to enable checkpointing to move the .inprogress files to actual files

//每 1000 毫秒启动一个检查点env.enableCheckpointing(1000);

// start a checkpoint every 1000 ms env.enableCheckpointing(1000);

StreamingFileSink 未将数据提取到 s3

这篇关于NFS(Netapp 服务器)->Flink ->s3的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆