-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Report
When using a Keda Kafka scaler with lagThreshold
argument as 1000000
I'm getting the following error:
keda-operator error parsing kafka metadata: error parsing lagThreshold: strconv.ParseInt: parsing "1e+06": invalid
syntax
### Expected Behavior
Should parse numbers correctly.
### Actual Behavior
Not able to parse or parsing as: `1e+06`
### Steps to Reproduce the Problem
1. set lagThreshold as 1000000
2. kubectl describe scaledobjects.keda.sh <your-topic>
### Logs from KEDA operator
_No response_
### KEDA Version
None
### Kubernetes Version
None
### Platform
Google Cloud
### Scaler Details
Kafka
### Anything else?
If the bug is related to another repo please let me know, I'll move it.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
Type
Projects
Status
Ready To Ship