Comments (5)
- Add to pom.xml
<dependency>
<groupId>io.netty</groupId>
<artifactId>netty-transport-native-epoll</artifactId>
<version>4.1.82.Final</version>
</dependency>
- solution 1: use maven plugin (perfer maven-shade-plugin) to package this lib into you jar file.
- solution 2: copy all netty-* jar files into flink/libs directory , and restart you flink cluster.
from flink-connector-redis.
我想以flink sql 运行,不想写java 代码,我该加些哪些lib 才能解决
from flink-connector-redis.
增加这两个包
<dependency>
<groupId>io.lettuce</groupId>
<artifactId>lettuce-core</artifactId>
<version>6.2.1.RELEASE</version>
</dependency>
<!-- https://mvnrepository.com/artifact/io.netty/netty-transport-native-epoll -->
<dependency>
<groupId>io.netty</groupId>
<artifactId>netty-transport-native-epoll</artifactId>
<version>4.1.82.Final</version>
</dependency>
或者:
项目依赖Lettuce 6.2.1,如flink环境无lettuce,则使用mvn package -DskipTests打包生成的flink-connector-redis-1.2.6-jar-with-dependencies.jar
from flink-connector-redis.
那你使用mvn package -DskipTests打包生成的flink-connector-redis-1.2.6-jar-with-dependencies.jar 吧。
一定可以的,Publisher就是lettuce包里的。
from flink-connector-redis.
mvn package -DskipTests great! , thank you very much
from flink-connector-redis.
Related Issues (20)
- 请问下不支持redis sentinel模式吗 HOT 5
- 支持 Flink 1.15.x 下作为Lookup Table HOT 2
- 能在入redis中增加支持原始BYTES入redis的方法么? HOT 5
- sink.parallelism 参数无效 HOT 1
- Lettuce API Implicit Failure HOT 1
- Flink CDC同步MySQL数据到Redis时,Redis不能同步删除数据 HOT 5
- 哨兵模式下连接失败 HOT 3
- 异常问题 HOT 6
- 报错 no match redis HOT 4
- 对于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
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.