-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Provide support for SAS token auth in Azure Event Hubs Scaler #2705
Comments
Fair request, adding to backlog. Are you willing to contribute this? |
For sure, I will try to find some time for this. Thx |
@yaronpri Do you any branch/commit for proving this feature? Would love to help with you |
@v-shenoy If you are bored, is this something you want to pick up? |
@tomkerkhove I can take them (both event hub and service bus) up next week. |
That would be awesome, but don't feel pressured! |
@tomkerkhove I Can take up this parallelly with #2920 |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions. |
Bump |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions. |
Hi @SushmithaVReddy is there a plan to add support for this ? |
is this something you have in progress @v-shenoy ? |
I was planning to do this. But last I checked the SDK that we use does not support SAS tokens. I am not sure if that has changed. |
Okay, I am taking a look at the docs, and there is an interface that mentions SAS tokens. I will take a look and send a PR if it's supported. |
After going through the docs for azure-event-hubs-go/v3, it relies on the azure-amqp-common-go/sas package for a SAS token provider which requires either providing the key name & value, or a connection string with the same format as the one KEDA uses. Not the SAS token format. @yaronpri Maybe you know more about using the SAS tokens of the form you provided with the SDK that we use in KEDA? |
Hi @v-shenoy from what I see the way to generate SAS token for EventHub is similar to the way it's generated for ServiceBus. |
Report
Based on current documentation https://keda.sh/docs/2.6/scalers/azure-event-hub/
Both settings expected to get connection string values - which in some cases is not a valid option
Expected Behavior
To have ability to use SAS token
Actual Behavior
Get only connection string
Steps to Reproduce the Problem
Logs from KEDA operator
No need
KEDA Version
2.5.0
Kubernetes Version
No response
Platform
No response
Scaler Details
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: