diff --git a/src/Microsoft.Azure.WebJobs.Extensions.Kafka/Listeners/Scaler/KafkaGenericTargetScaler.cs b/src/Microsoft.Azure.WebJobs.Extensions.Kafka/Listeners/Scaler/KafkaGenericTargetScaler.cs index b227671d..cededce5 100644 --- a/src/Microsoft.Azure.WebJobs.Extensions.Kafka/Listeners/Scaler/KafkaGenericTargetScaler.cs +++ b/src/Microsoft.Azure.WebJobs.Extensions.Kafka/Listeners/Scaler/KafkaGenericTargetScaler.cs @@ -81,7 +81,7 @@ internal TargetScalerResult GetScaleResultInternal(TargetScalerContext context, { return new TargetScalerResult { - TargetWorkerCount = 1 + TargetWorkerCount = 0 }; } @@ -155,4 +155,4 @@ internal int GetChangeInWorkerCount(int targetWorkerCount) return targetWorkerCount - lastTargetScalerResult.TargetWorkerCount; } } -} \ No newline at end of file +}