You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 21, 2023. It is now read-only.
Note: if you don't have rediscluster, we need to add only one host in the array and above code will choose between createClient and Cluster to establish the connection.
I can generate a PR if required.
Thanks.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi
I am able to used redis cluster.
Step 1: Store cluster nodes as an array in a variable like
Step 2: Initiate session like
Step3: In
telegraf-session-redis
, useioredis
instead ofredis
likeconst redis = require('ioredis')
Step4: In
telegraf-session-redis
, handle connection like belowNote: if you don't have rediscluster, we need to add only one host in the array and above code will choose between createClient and Cluster to establish the connection.
I can generate a PR if required.
Thanks.
The text was updated successfully, but these errors were encountered: