unable to find a way to invoke 'ExperimentalService :: stub :: bulkImportRelationships' method using Java SDK #1998
Replies: 1 comment
-
bulk import is not available with the blocking stub. I believe the reason for that is because it is a bidirectional gRPC streaming API. Here is an example on how to use it: https://github.com/authzed/authzed-java/blob/a8ae90a3f8f008ab6e3ea71299064a7b83938981/src/intTest/java/V1ClientTest.java#L212-L239 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I am new to Authzed SDK. Exploring bulk Import of relationships. But couldn't find 'bulkImportRelationships' method on ExperimentalServiceGrpc stub. If anyone has code snippet for this feature please share. Thanks.
Ex: ExperimentalServiceBlockingStub stub = ExperimentalServiceGrpc.newBlockingStub(channel).withCallCredentials(bearerToken);
stub.bulkImportRelationships(request); --> not found
https://buf.build/authzed/api/docs/main:authzed.api.v1#authzed.api.v1.ExperimentalService
Beta Was this translation helpful? Give feedback.
All reactions