Git Product home page Git Product logo

Comments (5)

chetanmeh avatar chetanmeh commented on August 29, 2024

Seems like for ResourceType.Media has no handling in PathsHelper.generatePath. In v2.3.0 path was directly constructed from the RxDocumentServiceRequest and now it uses PathHelper which results in error thrown

from azure-cosmosdb-java.

moderakh avatar moderakh commented on August 29, 2024

@chetanmeh not fully supporting ResourceType.Media is a bug however we are planning to deprecate attachment APIs and remove them in upcoming releases. Are you using these APIs in prod?

from azure-cosmosdb-java.

chetanmeh avatar chetanmeh commented on August 29, 2024

We support two modes

  1. Store metadata in CosmosDB and Binary in any object store
  2. Store metadata in CosmosDB and binary as attachment

Prod usage is based on 1. However we have testcases and implementation logic for 2 also.

we are planning to deprecate attachment APIs and remove them in upcoming releases

So CosmosDB would remove support for attachment altogether or only SDK would not support it?

from azure-cosmosdb-java.

moderakh avatar moderakh commented on August 29, 2024

I suggest you go with option 1.

For now we are planning to deprecate/remove attachments support across SDKs.

from azure-cosmosdb-java.

christopheranderson avatar christopheranderson commented on August 29, 2024

Cleaning up issues. Closing as won't fix for now. Recommend using blob storage or some other external store. We won't be continuing support in newer versions of the SDK and once the old SDKs retire, it will be retired in the backend as well. Message us at [email protected] if that's a bigger issue.

from azure-cosmosdb-java.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.