当前位置:网站首页>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 命令时必须设置 |
边栏推荐
- 七、MySQL之数据定义语言(二)
- Classification (data consolidation and grouping aggregation)
- Hands on deep learning pytorch version exercise solution - 2.4 calculus
- Leetcode刷题---35
- Knowledge map reasoning -- hybrid neural network and distributed representation reasoning
- A super cool background permission management system
- Introduction to deep learning linear algebra (pytorch)
- Jetson TX2 brush machine
- Leetcode skimming ---1
- A detailed explanation of vector derivative and matrix derivative
猜你喜欢
A complete mall system
Knowledge map reasoning -- hybrid neural network and distributed representation reasoning
Handwritten digit recognition: CNN alexnet
神经网络入门之模型选择(PyTorch)
Entropy method to calculate weight
Detailed cross validation and grid search -- sklearn implementation
Data preprocessing - Data Mining 1
Yolov5 creates and trains its own data set to realize mask wearing detection
权重衰退(PyTorch)
MySQL报错“Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggre”解决方法
随机推荐
FileNotFoundError: Could not find module ‘... dll‘ (or one of its dependencies).
Leetcode skimming ---189
Drop out (pytoch)
8、 Transaction control language of MySQL
Numpy quick start (II) -- Introduction to array (creation of array + basic operation of array)
Knowledge map enhancement recommendation based on joint non sampling learning
八、MySQL之事务控制语言
Multilayer perceptron (pytorch)
Unity learning notes: online game pixel Adventure 1 learning process & error correction experience
Leetcode skimming ---977
Pytoch has been installed, but vs code still displays no module named 'torch‘
Content type ‘application/x-www-form-urlencoded;charset=UTF-8‘ not supported
Free online markdown to write a good resume
Leetcode刷题---189
Hands on deep learning pytorch version exercise solution - 2.6 probability
Yolov5 creates and trains its own data set to realize mask wearing detection
extern关键字
I really want to be a girl. The first step of programming is to wear women's clothes
Ut2011 learning notes
7、 Data definition language of MySQL (2)