Skip to content

Best Practices

{
"observers": {
"subscriberTimeout": 5,
"maxRetryAttempts": 10
},
"events": {
"queues": 8
}
}
PropertyDescription
observers.subscriberTimeoutKeep observer timeouts aligned with infrastructure latency
observers.maxRetryAttemptsTune retries to balance resilience and recovery time
events.queuesScale queues based on expected event throughput
  1. Use specific version tags instead of latest for production deployments.
  2. Mount configuration as read-only to prevent accidental modifications.
  3. Use environment-specific connection strings for MongoDB.
  4. Configure appropriate timeouts based on your infrastructure.
  5. Use environment variables for sensitive configuration like connection strings.
  6. Use secrets management for production environments.
  7. Set appropriate observer retry policies based on reliability requirements.
  8. Configure event queues based on event throughput needs.