当前位置:网站首页>Flink <-->Redis的使用介绍+with参数
Flink <-->Redis的使用介绍+with参数
2022-07-03 09:32:00 【Samooyou】
介绍
Redis Connector 提供了对 Redis 写入支持。
使用范围
可以作为 Tuple、Upsert 数据流的目的表。
示例
set 命令(字符串键)
|
lpush 命令(列表键)
|
sadd 命令(集合键)
|
hset 命令(哈希键)
|
zadd 命令(有序集合键)
|
通用 WITH 参数
参数值 | 必填 | 默认值 | 描述 |
|---|---|---|---|
| connector | 是 | - | 固定值为 redis |
| command | 是 | - | 操作命令。取值与对应的键类型如下:
|
| nodes | 是 | - | redis server 连接地址,示例:127.0.0.1:6379。集群架构下多个节点使用','分隔 |
| password | 否 | 空 | redis 密码,默认值为空,不进行权限验证 |
| database | 否 | 0 | 要操作的数据库的 DB number,默认值0 |
| redis-mode | 否 | standalone | redis 部署模式
|
| ignore-delete | 否 | false | 是否忽略 Retraction 消息 |
| additional-ttl | 否 | - | 过期时间,单位:秒。示例:60,设置过期是时间为60秒。只有 set 命令支持设置过期时间 |
| additional-key | - | - | 用于指定 hset 和 zadd 的 key。执行 hset 和 zadd 命令时必须设置 |
边栏推荐
- Numpy quick start (V) -- Linear Algebra
- An open source OA office automation system
- 丢弃法Dropout(Pytorch)
- Leetcode skimming ---704
- I really want to be a girl. The first step of programming is to wear women's clothes
- Training effects of different data sets (yolov5)
- Knowledge map enhancement recommendation based on joint non sampling learning
- A complete answer sheet recognition system
- Leetcode刷题---704
- The story of a 30-year-old tester struggling, even lying flat is extravagant
猜你喜欢

Adaptive Propagation Graph Convolutional Network

Leetcode skimming ---367

Pytorch ADDA code learning notes

mysql5.7安装和配置教程(图文超详细版)

7、 Data definition language of MySQL (2)

【吐槽&脑洞】关于逛B站时偶然体验的弹幕互动游戏魏蜀吴三国争霸游戏的一些思考

Hou Jie -- STL source code analysis notes

Tensorflow—Image segmentation

Tensorflow—Neural Style Transfer

八、MySQL之事务控制语言
随机推荐
MySQL reports an error "expression 1 of select list is not in group by claim and contains nonaggre" solution
The story of a 30-year-old tester struggling, even lying flat is extravagant
Numpy quick start (IV) -- random sampling and general functions
Common scenarios in which Seata distributed transactions fail and do not take effect (transactions do not rollback)
Stroke prediction: Bayesian
8、 Transaction control language of MySQL
C#项目-寝室管理系统(1)
深度学习入门之线性代数(PyTorch)
神经网络入门之模型选择(PyTorch)
Type de contenu « Application / X - www - form - urlencoded; Charset = utf - 8 'not supported
Leetcode skimming ---202
Softmax regression (pytorch)
Leetcode skimming ---44
Leetcode刷题---189
Unity学习笔记:联网游戏Pixel Adventure 1学习过程&纠错心得
Matrix calculation of Neural Network Introduction (pytoch)
The imitation of jd.com e-commerce project is coming
Jetson TX2 brush machine
Leetcode刷题---10
Handwritten digit recognition: CNN alexnet