redis:
host: ${COURSE_SERVICE_REDIS_HOST:localhost}
port: ${COURSE_SERVICE_REDIS_PORT:6379}
lettuce:
pool:
max-active: 8
max-idle: 4
min-idle: 2
max-wait: -1ms
shutdown-timeout: 100ms
LettuceConnection connection = (LettuceConnection)this.connectionFactory.getConnection();
...
connection.publish(topicName.getBytes(), ObjectUtil.toBytes(eventObj));
--
You received this message because you are subscribed to the Google Groups "lettuce-redis-client-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to lettuce-redis-clien...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/lettuce-redis-client-users/b68b80fd-197c-4a2e-b051-4e7847f9d3ea%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
What can you see when you enter Redis monitor mode using redis-cli?
Am 15. Nov. 2018, 06:43 +0000 schrieb kara...@gmail.com:
Hi all,--Here is my code in my spring boot 2 projectredis and lettuce configuration in application.yamlredis:
host: ${COURSE_SERVICE_REDIS_HOST:localhost}
port: ${COURSE_SERVICE_REDIS_PORT:6379}
lettuce:
pool:
max-active: 8
max-idle: 4
min-idle: 2
max-wait: -1ms
shutdown-timeout: 100ms
my code to publish message hereLettuceConnection connection = (LettuceConnection)this.connectionFactory.getConnection();
...connection.publish(topicName.getBytes(), ObjectUtil.toBytes(eventObj));
but it not work, without any exception, no data in redisanyone, pls help, thank!
You received this message because you are subscribed to the Google Groups "lettuce-redis-client-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to lettuce-redis-client-users+unsub...@googlegroups.com.