Skip to content

Question about lettuce pub / sub connection subscriber mode #3236

Closed Answered by tishun
brido4125 asked this question in Q&A
Discussion options

You must be logged in to vote

Depends on the protocol version that you are using.

Lettuce uses RESP3 by default, and RESP3 allows a single connection to be used for both subscriptions and issuing of commands.
RESP2 on the other hand does not and requires a dedicated connection for subscriptions.

Does that help?

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@brido4125
Comment options

@brido4125
Comment options

@tishun
Comment options

@brido4125
Comment options

@tishun
Comment options

Answer selected by brido4125
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants