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
feat(lock): Add HTTP support for Distributed Locking #414
Comments
There is a Note here https://docs.dapr.io/developing-applications/building-blocks/configuration/howto-manage-configuration/ which states that only supports gRPC. There isn't a similar note in the Distributed Locks documentation. Perhaps its worth annotating the APIs to make it clear which protocols are supported. Does seem rather strange though that configuration supports only gRPC when it is similar to state store. |
Yes, the configuration API only supports gRPC but the Distributed Lock has HTTP support - https://v1-10.docs.dapr.io/reference/api/distributed_lock_api/ - have updated the issue title to clarify the intent of this issue.
It is expected to get HTTP support once it moves to stable from alpha. Also there is an open issue which will be useful to document it more clearly dapr/docs#2526 |
This issue has been automatically marked as stale because it has not had activity in the last 60 days. It will be closed in the next 7 days unless it is tagged (pinned, good first issue, help wanted or triaged/resolved) or other activity occurs. Thank you for your contributions. |
/keep-alive |
This issue has been automatically marked as stale because it has not had activity in the last 60 days. It will be closed in the next 7 days unless it is tagged (pinned, good first issue, help wanted or triaged/resolved) or other activity occurs. Thank you for your contributions. |
/keep-alive |
I'm using SDK v2.4.2 and latest dapr self-host docker images. When I call the lock & configuration APIs such as
lock.tryLock
orconfiguration.get
it returnsHTTP is currently not supported
.I've created components as per docs all using Redis. State APIs, pubsub etc. all working fine. I am using Dapr with HTTP from a NestJs app.
The text was updated successfully, but these errors were encountered: