kedacore/keda

Support message sessions in Azure Service Bus Scaler

开放

#1,479 创建于 2021年1月6日

 (34 条评论) (6 个反应) (0 位负责人)Go (1,457 个派生)auto 404
azurefeaturehelp wantedneeds-discussionscaler-azure-service-bus

仓库指标

星标
 (10,372 个星标)
PR 合并指标
 (平均合并 8天 8小时) (30 天内合并 94 个 PR)

描述

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.

贡献者指南