I am trying to upload images to azure cosmos DB but can't find any documentation.
We are using the new version of cosmos DB library:
implementation 'com.azure:azure-cosmos:3.1.0'
I found AsyncDocumentClient from com.microsoft.azure.cosmosdb.rx package which has
public Observable<>> createAttachment(String documentLink, Attachment attachment, RequestOptions options)
public Observable<>> createAttachment(String documentLink, InputStream mediaStream, MediaOptions options, RequestOptions requestOptions)
but this library(java Async SDK v2) has been deprecated and replaced with the new SDK(Java Sdk v4). I cant find anything regarding managed attachments in the new SDK. What options do we have to upload the files now?
PS. I know we should use blob storage from azure, but we don't have it right now