Skip to content

Emulator

For local development and testing. Gut felt like it's one of the least asked question in exam.

  1. Connection is to localhost:8081.
  2. Internally has a certificate hence need to use https connection. In real life a fusfrating emulator as the certificate do expires and sometime for months.
  3. Most information is in the official doc.

Limitation

  • Hierarchy key unsupported
  • You can only test Strong and Session consistency
  • Max 5 join in query
  • Nothing with Cloud/Scale works
  • No serverless https://learn.microsoft.com/en-us/azure/cosmos-db/emulator?context=%2Fazure%2Fcosmos-db%2Fnosql%2Fcontext%2Fcontext