当前位置:网站首页>Flink学习第五天——Flink可视化控制台依赖配置和界面介绍
Flink学习第五天——Flink可视化控制台依赖配置和界面介绍
2022-08-01 23:22:00 【qq_16397653】
WebUI可视化界面
- 访问:ip:8081
- 方式一:服务端部署Flink集群(生产环境)
- 方式二:本地依赖添加(测试开发)
<!--Flink web ui--> <dependency> <groupId>org.apache.flink</groupId> <artifactId>flink-runtime-web_${scala.version}</artifactId> <version>${flink.version}</version> </dependency>
代码开发
public static void main(String[] args) throws Exception { final StreamExecutionEnvironment env = StreamExecutionEnvironment.createLocalEnvironmentWithWebUI(new Configuration()); //env.setParallelism(1); DataStream<String> stringDataStream = env.socketTextStream("127.0.0.1",8888); DataStream<String> flatMapDataStream = stringDataStream.flatMap(new FlatM
边栏推荐
- 还在纠结报表工具的选型么?来看看这个
- Quarantine and downgrade
- When solving yolov5 training: "AssertionError: train: No labels in VOCData/dataSet_path/train.cache. Can not train"
- Secondary Vocational Network Security Competition B7 Competition Deployment Process
- Always use "noopener" or "noreferrer" for links that open in a new tab
- What can be done to make this SQL into a dangerous SQL?
- Three, mysql storage engine - building database and table operation
- 怎样做才能让这条SQL变成一条危险的SQL?
- 访问控制台中的选定节点
- 从0到1:图文投票小程序设计与研发笔记
猜你喜欢
y84.第四章 Prometheus大厂监控体系及实战 -- prometheus告警机制进阶(十五)
C语言——分支语句和循环语句
文件查询匹配神器 【glob.js】 实用教程
PDF转Word有那么难吗?做一个文件转换器,都解决了
程序员如何优雅地解决线上问题?
仿牛客网项目第三章:开发社区核心功能(详细步骤和思路)
软技能之UML图
[LeetCode304周赛] 两道关于基环树的题 6134. 找到离给定两个节点最近的节点,6135. 图中的最长环
Thesis understanding [RL - Exp Replay] - Experience Replay with Likelihood-free Importance Weights
简单3D渲染器的制作
随机推荐
Getting started with IDEA is enough to read this article
drf生成序列化类代码
UML diagram of soft skills
最短路模板
excel vertical to horizontal
Codeforces CodeTON Round 2 (Div. 1 + Div. 2, Rated, Prizes!) A-D 题解
Chapter 19 Tips and Traps: Common Goofs for Novices
Access the selected node in the console
颜色透明参数
【数据分析03】
Chapter 12 End-User Task As Shell Scripts
论文理解【RL - Exp Replay】—— Experience Replay with Likelihood-free Importance Weights
From 0 to 1: Design and R&D Notes of Graphic Voting Mini Program
数据机构---第五章树与二叉树---二叉树的概念---应用题
The monthly salary of the test post is 5-9k, how to increase the salary to 25k?
CF1703G Good Key, Bad Key
Department project source code sharing
Leetcode 129求根节点到叶节点数字之和、104二叉树的最大深度、8字符串转换整数(atoi)、82删除排序链表中的重复元素II、204二分查找、94二叉树的中序遍历、144二叉树的前序遍历
bat 之 特殊字符&转义
qt-faststart installation and use