Git Product home page Git Product logo

Comments (5)

jeff-zou avatar jeff-zou commented on July 28, 2024

Please provide the configuration to connect to redis.

from flink-connector-redis.

ulnit avatar ulnit commented on July 28, 2024

Please provide the configuration to connect to redis.
) WITH (
'connector' = 'redis',
'host' = '192.168.X.X',
'port' = '6379',
'database' = '9',
'password' = '******',
'redis-mode' = 'single',
'command' = 'hset',
'value.data.structure' = 'row',
'ttl' = '259200'
);

from flink-connector-redis.

ulnit avatar ulnit commented on July 28, 2024

Please provide the configuration to connect to redis.

The sendAddress method about netty v4.1 looks like this :

int sendAddress(long address, int pos, int limit)
int sendAddress(long address, int pos, int limit)

from flink-connector-redis.

jeff-zou avatar jeff-zou commented on July 28, 2024

The configuration is look like fine. It could be a version issue.Please try to connect to redis directly by Lettuce like this:

RedisClient client = RedisClient.create("redis://localhost"); StatefulRedisConnection<String, String> connection = client.connect(); RedisStringCommands sync = connection.sync(); String value = sync.get("key");

from flink-connector-redis.

ulnit avatar ulnit commented on July 28, 2024

The configuration is look like fine. It could be a version issue.Please try to connect to redis directly by Lettuce like this:

RedisClient client = RedisClient.create("redis://localhost"); StatefulRedisConnection<String, String> connection = client.connect(); RedisStringCommands sync = connection.sync(); String value = sync.get("key");

Tks, it's been resolved. Probably the reason is that my local machine is an m1 chip, so I added the netty-transport-native-epoll dependency to linux-x86_64 and everything worked fine.

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.