Scale a worker on queue length (KEDA)
An order worker should cost nothing when the queue is empty and fan out when orders pile up. Wire a Container Apps scale rule to a Service Bus queue, flood the queue and watch replicas go from zero to ten and back.
You will learn:Custom KEDA scale rules (azure-servicebus)messageCount and how replicas are worked outScale to zero with min replicas 0
Related lessons: Event-Driven Scaling with KEDA in Container Apps