Last post Aug 06, 2019 01:47 AM by Brando ZWZ
Jul 31, 2019 07:23 AM|mark1961|LINK
My requirement is to return a redis sentinel connection to SignalR, as SignalR does not support Redis sentinels.
It would not automatically pick up this master when a new master is promoted.
My task is to create a custom connection factory to connect to the current master Redis node and return this connection for signalr.
Either using StackExchange.Redis/ServiceStack to connect to the sentinel and ask the sentinel what the current master is.
Connect to each Redis node and perform an Info command to determine which node is currently master (role:master or role:slave)
I have minimal experience of Redis and sentinels so advice appreciated.
My coding language is C# and i have access to Redis Desktop Manager for my local Redis instance.
Aug 06, 2019 01:47 AM|Brando ZWZ|LINK
As far as I know, there is no build-in function which could send the connection string to signalr application if redis changed the resource in C#.
I suggest you could try to ask this issue on the github redis issue to ask developer for better help.