Its not the “same” as MongoDB, since we have extensive parity testing against AWS, which involves our Internal & External Test Suite, Terraform validation, and snapshot testing.
You can checkout the coverage right here on DocumentDB’s API coverage page — DocumentDB | Docs
Thank you for your support. I see the tests described on that page and I see many of them mentioning Aurora and Postgres. I do not understand the point of these being listed on the DocumentDB page, however I am new to the localstack ecosystem.
The tests seem to be evaluating AWS Infrastructure operations for DocumentDB, however I am looking to understand the API parity between DocumentDB server running in Localstack locally, and the DocumentDB server running in AWS.
For example,
If I run a query against localstack DocumentDB cluster, will it successfully fail if I use an unsupported operator such as $expr?
I am trying to understand if the Localstack DocumentDB implementation will be a good tool to ensure application code is compliant with the real DocumentDB server.
Because LocalStack utilizes a MongoDB container to provide DocumentDB storage, LocalStack may not have exact feature parity with Amazon DocumentDB. The database engine may support additional features that Amazon DocumentDB does not and vice versa.
Thank you for the consideration. My interpretation of the documentation was that there may be discrepancies in the database engine leading me to believe there was possibly some effort put in place to match the document DB database engine, however you have been able to confirm with me that is not the case. We should not expect things that work in localstack DocumentDB database to mean they should also work in aws DocumentDB database without first consulting the compatibility guidelines put forth by AWS. We will take this into consideration for our localstack evaluation.
If you encounter any issues or ambiguities between the AWS DocDB and LocalStack offerings, please let us know in Feature Requests, so we can deliver a fully functional product to you.