Comments (4)
from flink-connector-redis.
没有将jar包引入项目 gaoyan @.> 于2023年5月8日周一 18:36写道:
…
用的是flink-connector-redis-1.2.7-jar-with-dependencies.jar flink1.15 sql: create table sink_redis(user_key VARCHAR, field VARCHAR, inform VARCHAR) with ( 'connector' = 'redis', 'host' = 'xxxx', 'port' = 'xxxx', 'password' = 'xxx', 'database' = '8', 'ttl' = '86400', --sink时key过期时间(秒) 'command' = 'hset' ); 报错: Caused by: java.lang.RuntimeException: no match redis at org.apache.flink.streaming.connectors.redis.common.hanlder.RedisHandlerServices.filterByContext(RedisHandlerServices.java:166) at org.apache.flink.streaming.connectors.redis.common.hanlder.RedisHandlerServices.filter(RedisHandlerServices.java:90) at org.apache.flink.streaming.connectors.redis.common.hanlder.RedisHandlerServices.findSingRedisHandler(RedisHandlerServices.java:76) at org.apache.flink.streaming.connectors.redis.common.hanlder.RedisHandlerServices.findRedisHandler(RedisHandlerServices.java:58) at org.apache.flink.streaming.connectors.redis.table.RedisDynamicTableSink.(RedisDynamicTableSink.java:42) at org.apache.flink.streaming.connectors.redis.table.RedisDynamicTableFactory.createDynamicTableSink(RedisDynamicTableFactory.java:65) at org.apache.flink.table.factories.FactoryUtil.createDynamicTableSink(FactoryUtil.java:259) — Reply to this email directly, view it on GitHub <#38>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFNV7R73QRPOI7ERM5EMGVLXFDECHANCNFSM6AAAAAAXZYI7JQ . You are receiving this because you are subscribed to this thread.Message ID: @.>
那个jar包,flink-connector-redis-1.2.7-jar-with-dependencies.jar不应该是包含了依赖的吗
from flink-connector-redis.
是你项目没引入这个包
from flink-connector-redis.
昂昂,我理解你的意思了,感谢感谢,我试试
from flink-connector-redis.
Related Issues (20)
- 能在入redis中增加支持原始BYTES入redis的方法么? HOT 5
- Caused by: java.lang.ClassNotFoundException: io.netty.channel.ChannelHandler HOT 5
- sink.parallelism 参数无效 HOT 1
- Lettuce API Implicit Failure HOT 1
- Flink CDC同步MySQL数据到Redis时,Redis不能同步删除数据 HOT 5
- 哨兵模式下连接失败 HOT 3
- 异常问题 HOT 6
- 对于redis消费相关问题 HOT 1
- 导入依赖运行test示例报错 HOT 3
- 测试里有个flushdb操作, 跑了一下测试case,测试redis数据全没了,差点要收拾包裹走人了 HOT 1
- hash结构怎么查询 HOT 1
- How to implement exactly once in redis sink function? HOT 1
- hset命令下ttl不断重置的问题 HOT 4
- Setting `command` option in TableDescriptor leads to Java error HOT 6
- [flink1.16.0]java.lang.UnsatisfiedLinkError: 'int io.netty.channel.unix.Socket.sendAddress(int, long, int, int)' HOT 5
- 适配flink 1.17.0 HOT 1
- 1.3.1 版本 能写入数据,但是读取不到数据 要怎么处理 HOT 2
- datastream sink的时候怎么设置ttl HOT 1
- io.lettuce.core.RedisConnectionException: Unable to connect to host:port HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flink-connector-redis.