It would be great if the Java library had asynchronous APIs for Cloud Spanner so that I don't need to tie up a request serving thread while I'm waiting for a response to a queries and writes. I had a look around the Javadoc and couldn't see anything about this, apologies if I've missed it.
Thanks for filing this request. We don't currently have an async api. We will consider adding it based on demand.
@shinfan I don't think this is needed for Spanner GA?
Okay I was adding everything spanner without a "triaged for GA" label to Spanner GA milestone. Feel free to remove and add "triaged for GA" label if it is not a part of GA.
The feature request is added to the backlog. The issue will be closed but is linked in the backlog and can continue to be used for comment and discussion.
Is there any ETA for this feature?
Spanner Java library now supports async calls for creating and updating databases and instances. There don't seem to be async methods for read and write.
cc/ @nithinsujir and @snehashah16 who own Spanner library.
I am interested in read/write API being async.
Most helpful comment
I am interested in read/write API being async.