-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Dapr integration #13573
Dapr integration #13573
Conversation
...spNetCore.Dapr.EventBus/Volo/Abp/AspNetCore/Dapr/EventBus/AbpAspNetCoreDaprEventBusModule.cs
Outdated
Show resolved
Hide resolved
framework/src/Volo.Abp.AspNetCore.Dapr/Volo/Abp/AspNetCore/Dapr/AbpAspNetCoreDaprModule.cs
Outdated
Show resolved
Hide resolved
timeout = DistributedLockDaprOptions.DefaultTimeout; | ||
} | ||
|
||
var daprClient = await DaprClientFactory.CreateAsync(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is DaprClient disposable? Shouldn't we dispose the client after lock is released (or if can't be obtained)? Also check other places we used the DaprClient. Also, is DaprClient thread-safe and reusable (I don't know now)?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
DaprClient is thread-safe and reusable, This is also used by the Dapr sdk
framework/src/Volo.Abp.Http.Client.Dapr/Volo/Abp/Http/Client/Dapr/AbpHttpClientDaprModule.cs
Show resolved
Hide resolved
Thanks for the great implementation. I will organize its documentation. One more comment, in addition to the comments I've done: If |
Co-authored-by: Halil İbrahim Kalkan <[email protected]>
renamed to |
Resolve #13337
Resolve #13338
Resolve #13339
Resolve #13341
Resolve #13582
Resolve #13342
abpframework/abp-samples#193