-
Notifications
You must be signed in to change notification settings - Fork 7
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
Cursor is missing in permission_service.proto file #94
Comments
Just to add more context. We are using quarkus-Authzed-client library to communicate with SpiceDB. Till now, we were using LookupResources method with the cursor and limit on the resources but now since the number of resources now have increased the Spicedb doesn't have enough memory because of which the stream gets closed abruptly giving an error.
Now to fix this, we were planning to use the cursor and limit the number of resources which we are trying to fetch to reduce the load on the Spicedb Instance. Looks like quarkus-authzed-client doesn't support these 2 attributes in the request because of which we are not able to use cursors. or is there something that we are missing. Thanks |
Is there some way to reproduce the issue? |
We don't have specific steps to reproduce as this was happening only for a specific scenario which worked for another user. Now to solve this we are trying to implement cursors so that we can fine tune to only fetch limited data that our spicedb would be able to serve without consuming enough memory. Hope this helps. |
Do you have some technical documentation about the planned solution? |
Hi @JuanmaBM Please see attached technical document |
Thanks @JuanmaBM, Code is fixed and merged now. I am still seeing old 0.3.0 as latest version https://repo.maven.apache.org/maven2/io/quarkiverse/authzed/quarkus-authzed-client/. Could you please provide latest official quarkus-authzed-client release version to test?? cc: @garethahealy |
Based on the Authzed documentation, the cursor should be included in the GRPC permission service schema, as stated in the LookupResourcesRequest section: https://buf.build/authzed/api/docs/main:authzed.api.v1#authzed.api.v1.LookupResourcesRequest
However, it appears to be missing in the permission_service.proto file.
quarkus-authzed-client/grpc/generator/src/main/proto/authzed/api/v1/permission_service.proto
Line 308 in f29be01
The text was updated successfully, but these errors were encountered: