I can’t seem to find any information on the Daml extractor as from Daml 2.0. I’ve searched for it and have seen it has been deprecated. Could anyone let me know of reasons for that decision and whether there are plans for a new extractor, also potentially supporting other databases such as Mongo or other document based?
If you need a local dataset derived from the ledger, I recommend maintaining a database with a custom Scala or Java service using the gRPC active contract service and transaction APIs, or any language you like with gRPC support, or using the JSON API if its query capabilities are sufficient for your application.
There are no plans for a new extractor. We deprecated and removed the Extractor because it was significantly more difficult for users to maintain in practice than we would like, and moreover was too crude a tool to really fit the use cases we were trying to solve with it.
Taking those lessons and other model use cases into account, we plan to release a product to let devs maintain the specific queryable datasets that they need for their applications, “Custom Views”, in the future. However, I recommend following the first paragraph above rather than waiting for this product, which may or may not fit your needs (as it is not really “a new extractor”).