-
Notifications
You must be signed in to change notification settings - Fork 990
Pub Sub (3.x)
Mark Paluch edited this page Dec 10, 2016
·
2 revisions
❗️Documentation page for lettuce 3.x. Find the recent documentation for lettuce 4.x here: Pub-Sub
lettuce provides support for publish/subscribe connections. Simply register
your own RedisPubSubListener
and you'll get notified on message/subscribed/unsubscribed event.
lettuce provides also a RedisPubSubAdapter
convenience.
RedisPubSubConnection<String, String> connection = client.connectPubSub()
connection.addListener(new RedisPubSubListener<String, String>() { ... })
connection.subscribe("channel")
Lettuce documentation was moved to https://redis.github.io/lettuce/overview/
Intro
Getting started
- Getting started
- Redis URI and connection details
- Basic usage
- Asynchronous API
- Reactive API
- Publish/Subscribe
- Transactions/Multi
- Scripting and Functions
- Redis Command Interfaces
- FAQ
HA and Sharding
Advanced usage
- Configuring Client resources
- Client Options
- Dynamic Command Interfaces
- SSL Connections
- Native Transports
- Unix Domain Sockets
- Streaming API
- Events
- Command Latency Metrics
- Tracing
- Stateful Connections
- Pipelining/Flushing
- Connection Pooling
- Graal Native Image
- Custom commands
Integration and Extension
Internals