-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Unable to start Redis reminder. 'Orleans.Timers.IReminderRegistry' has not been registered. #8446
Comments
I think I found the problem, AddReminder is missing. |
@ReubenBond was this perhaps fixed in 7.2.1? Based on orleans/src/Redis/Orleans.Reminders.Redis/Hosting/SiloBuilderReminderExtensions.cs Lines 27 to 31 in 28256db
It's missing AddReminders() like here: orleans/src/Orleans.Reminders/Hosting/SiloBuilderReminderMemoryExtensions.cs Lines 21 to 28 in 28256db
|
Hi,
Trying to use reminder backed by Redis but when I try to get an reminder or register new reminder I get the message (in exception):
The requested service 'Orleans.Timers.IReminderRegistry' has not been registered. To avoid this exception, either register a component to provide the service, check for service registration using IsRegistered(), or use the ResolveOptional() method to resolve an optional dependency.
I register the reminder like that:
siloBuilder.UseRedisReminderService((opt) => opt.ConfigurationOptions = myRedisConfiguration). Configure<ClusterOptions>((opt) => opt.ServiceId = "myService");
when I replace the reminder with UseInMemoryReminderService it works perfect.
** I register the Redis persistence storage exactly like UseRedisReminderService (opt.ConfigurationOptions = myRedisConfiguration) and it works as excepted.
Nuget: Microsoft.Orleans.Reminders.Redis 7.1.2-beta1
The text was updated successfully, but these errors were encountered: