kedacore/keda

Support message sessions in Azure Service Bus Scaler

オープン

#1,479 opened on 2021/01/06

 (34 件のコメント) (6 件のリアクション) (0 人の担当者)Go (1,457 件のフォーク)auto 404
azurefeaturehelp wantedneeds-discussionscaler-azure-service-bus

Repository metrics

Stars
 (10,372 個のスター)
PR merge metrics
 (PR metrics pending)

説明

Use-Case

I have a large workload that is bound to a single session id. As a session can only be processed from a single listener (because it locks the session) scaling according to the number of messages in the queue is not... useful.

I've just added 620 messages to a queue all with the same session id and keda has scaled up the service to whopping 16 instances. But unfortunately 15 instances are doing nothing and 1 is working hard.

I'm not sure if you can interrogate the number of active sessions but if you can then...

Specification

  • Allow to specify the desired number of desired active sessions and scale based on that instead of the number of messages in a queue.

コントリビューターガイド