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

Kudu + KEDA publishing for Durable Functions on SQL #191

Conversation

cgillum
Copy link
Collaborator

@cgillum cgillum commented Mar 18, 2021

This PR adds support for publishing function apps with Durable Functions triggers that are configured with the new SQL backend.

I had to refactor the existing code a bit since Durable scalers are not 1:1 with function triggers, like they are for all other trigger types. Rather, all durable triggers in a single function app are powered by a single scaler.

I also added a unit test to verify the behavior.

Copy link
Collaborator

@pragnagopa pragnagopa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added few minor comments. Thanks!

Kudu.Core/Functions/KedaFunctionTriggerProvider.cs Outdated Show resolved Hide resolved
Kudu.Core/Functions/KedaFunctionTriggerProvider.cs Outdated Show resolved Hide resolved
Kudu.Core/Functions/KedaFunctionTriggerProvider.cs Outdated Show resolved Hide resolved
Kudu.Core/Functions/KedaFunctionTriggerProvider.cs Outdated Show resolved Hide resolved
Copy link
Collaborator

@pragnagopa pragnagopa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Tagging @divyagandhisethi as FYI

@pragnagopa
Copy link
Collaborator

Tagging @sanchitmehta to help merge and cherry-pick commit to internal repo.

@sanchitmehta - @cgillum and I do not have permissions to merge. Please take a look. Thanks!

@JennyLawrance JennyLawrance merged commit 25bb9a5 into Azure-App-Service:feature/k8se Mar 23, 2021
@cgillum cgillum deleted the feature/k8se-durable-mssql branch March 23, 2021 16:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants