当前位置: 首页 > news >正文

seatunnel win idea 本地调试

调试FakeSource,LocalFile

# Set the basic configuration of the task to be performed
env {execution.parallelism = 1job.mode = "BATCH"
}# Create a source to connect to Mongodb
source {# This is a example source plugin **only for test and demonstrate the feature source plugin**FakeSource {parallelism = 2result_table_name = "fake"row.num = 16schema = {fields {name = "string"age = "int"}}}
}sink {LocalFile {path = "/tmp/seatunnel/excel"file_format_type="excel"
}
}

调试前准备工作:

1.导入需要的connector

在这里插入图片描述

2.启动依赖Hadoop,设置Hadoop环境变量,记得安装Hadoop,放入winutils.exe

在这里插入图片描述

3.将配置文件放入到代码里面的resource目录下
4.运行类
org.apache.seatunnel.example.engine.SeaTunnelEngineExample

在这里插入图片描述

http://www.lryc.cn/news/164412.html

相关文章:

  • 链路追踪Skywalking快速入门
  • 全开源影视APP源码带后台 苍穹影视APP源码 免受权带安装教程
  • Qt+C++自建网页浏览器-Chrome blink最新内核基础上搭建-改进版本
  • 这场科技巨变,有生之年有希望
  • zemax优化功能
  • Centos8关闭IPV6
  • 华为OD七日集训第4期 - 按算法分类,由易到难,循序渐进,玩转OD
  • flutter 抓包工具charles
  • ——二叉树
  • 【linux命令讲解大全】103.Linux目录堆栈命令 dirs 的使用方法和选项详解
  • vue3项目应用font awesome6
  • 【JavaScript】JS语法入门到实战
  • 【Linux】工具Gdb调试轻度使用(C++)
  • linux xhost命令
  • linux在线源码阅读网站
  • css中只使用vue的变量
  • 华为云云耀云服务器L实例评测 | 由于自己原因导致MySQL数据库被攻击 【更新中。。。】
  • 如何查询成绩或工资
  • FPGA原理与结构——时钟IP核的使用与测试
  • 手搓消息队列【RabbitMQ版】
  • Oracle VM VirtualBox 安装 Ubuntu Linux
  • 3D WEB轻量化引擎HOOPS Commuicator技术概览(一):数据导入与加载
  • .net 7 隐藏swagger的api
  • Maven插件的作用
  • C++(三)——运算符重载
  • 【Springcloud】elk分布式日志
  • 华为mate60麒麟9000s的架构体系
  • 面试半个月后的一些想法
  • 基于FPGA的图像二值化处理,包括tb测试文件和MATLAB辅助验证
  • 文件操作(个人学习笔记黑马学习)