Coder Social home page Coder Social logo

Comments (5)

MingYu-Deng avatar MingYu-Deng commented on June 19, 2024
  1. Add to pom.xml
        <dependency>
            <groupId>io.netty</groupId>
            <artifactId>netty-transport-native-epoll</artifactId>
            <version>4.1.82.Final</version>
        </dependency>
  1. solution 1: use maven plugin (perfer maven-shade-plugin) to package this lib into you jar file.
  2. solution 2: copy all netty-* jar files into flink/libs directory , and restart you flink cluster.

from flink-connector-redis.

tx991020 avatar tx991020 commented on June 19, 2024

image

image

image

我想以flink sql 运行,不想写java 代码,我该加些哪些lib 才能解决

from flink-connector-redis.

jeff-zou avatar jeff-zou commented on June 19, 2024

增加这两个包

 <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.

jeff-zou avatar jeff-zou commented on June 19, 2024

那你使用mvn package -DskipTests打包生成的flink-connector-redis-1.2.6-jar-with-dependencies.jar 吧。
一定可以的,Publisher就是lettuce包里的。

from flink-connector-redis.

tx910322 avatar tx910322 commented on June 19, 2024

mvn package -DskipTests great! , thank you very much

from flink-connector-redis.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.