-
-
Notifications
You must be signed in to change notification settings - Fork 177
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sentinel support? #253
Comments
Hi @weare8 About Sentinel, we didn't implement it yet. We are thinking to do a refactoring on connection part (#182) for the version v7 and we could add we could add this feature. If you need it soon, please open a PR and I'll be happy to merge it into our code. About AspNet Core, I suggest you to use the specific package. Take a look to the documentation here https://imperugo.gitbook.io/stackexchange-redis-extensions/asp.net-core About the logging you are getting, that's correct. Out of the box the library uses the same logger you are using and all the messages are on Debug level. let me know if you need more info. |
@imperugo Yeah, they just added serviceName. https://stackexchange.github.io/StackExchange.Redis/Configuration#basic-configuration-strings |
@rabberbock please try the 7.2.0 that support both connection string and ServiceName in redisConfiguration |
The latest code I almost made it work is the below, I derived from RedisConfiguration and added ServiceName along with couple of more properties but still couldn't make it work.
JSON section:
Check this SO question for a reference regarding my latest error, not related to the extensions since I stopped using it really: https://stackoverflow.com/questions/62288797/this-operation-has-been-disabled-in-the-command-map-and-cannot-be-used-auth-re |
@weare8 the 7.2 that is on nuget, has the Sentinel support, please try it |
OK great! Let me try it out thanks :) any special documentation on Sentinel setup? |
Need to write it, but basically just set the service name into the See here |
Maybe out of topic, I can add any service name for Sentinel to work, it's pretty much an identifier only correct? |
Going to close this. Please feel free to reopen in case you still have the issue. Thanks |
Having built a 3 node Redis cluster with Sentinel in front and using StackExchange.Redis.Extensions with the below configuration.
The problem is I need to pass the Sentinel cluster nodes and not the Redis nodes, the below result to blocking the application from starting since it can't create the connections correctly, any Sentinel support or plans to support in the future?
Configuring the DI container.
When I start the ASP.NET Core API 3.1 I get the below messages and it just hangs, sometimes might pass to the next call stack method but takes forever, you might even have to restart the IDE to unblock it.
The text was updated successfully, but these errors were encountered: