Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

eventhub scaler not working on new hubs where no storage checkpoint is initialized #797

Closed
christle opened this issue Apr 30, 2020 · 1 comment · Fixed by #798
Closed
Labels
bug Something isn't working scaler-azure-event-hubs
Milestone

Comments

@christle
Copy link
Contributor

We configure our eventhub scaledObject with a minimum value of 0. When we create new hubs and start messaging, no function is scaling up. The reason is, there is initially no checkpoint until the first function is started.

so we have to delete the scaledObject after deployment and scale manually to 1 to initialize the storage checkpoint.

Expected Behavior

When a new hub is created and messages are available, then the eventhub scaler should react with a suitable metric.

Actual Behavior

the eventhub scaler returns no metric when noch storage checkpoint is available.

Steps to Reproduce the Problem

  1. create a new hub and send messages to it
  2. deploy a function with a scaledObject with a min instance value to zero
  3. no function is scaling up, even if messages exists
  4. delete the scaledObject and scale to 1 manually
  5. redeploy the scaledObject and all works normally

Specifications

  • **KEDA Version: 1.4
  • Kubernetes Version: 1.15.7
  • Scaler(s): eventhub-scaler
@tomkerkhove
Copy link
Member

Good point, thanks for reporting and opening a PR!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working scaler-azure-event-hubs
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants