Skip to content

Pulsar scaler: not clear error messages for unsuccessful connection #4563

@zroubalik

Description

@zroubalik

Report

No response

Expected Behavior

Error messages to be clear and not contain %!s(<nil>) etc.

Actual Behavior

2023-05-19T15:01:46Z    ERROR   scalehandler    Error getting scale decision    {"scaledobject.Name": "my-scaledobject", "scaledObject.Namespace": "namespace", "scaleTarget.Name": "my-worker", "error": "error requesting stats from url: %!s(<nil>)"}

Steps to Reproduce the Problem

  1. Deploy Pulsar with wrong connection metadata

Logs from KEDA operator

No response

KEDA Version

2.10.1

Kubernetes Version

None

Platform

None

Scaler Details

No response

Anything else?

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

Status

Ready To Ship

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions