Skip to content

[LogicApps Hybrid] Moving all queries to get unprocessed rows to a StoredProcedure #1159

@ishank12

Description

@ishank12

Is your feature request related to a problem? Please describe.
This feature request is related to support of SQL trigger scaling when functions host is running in kubernetes and depends on KEDA scalers for scaling.

This is how it works currently.
Image

But in ACA when sql trigger scaling is required it needs KEDA mssql scaler. our initial approach was below.
Image

This works fine for connection string, as the dataplane is using the user's connection string.
But this would not work for managed identity based connection as dataplane is not having the identity of the app.

Dataplane access to SQL server is needed for creating the stored procedure. But if sql extension itself would create the stored procedure, then dataplane would not need to access the sql server.

This would be more cleaner.

Describe the solution or feature you'd like
Moving the queries to get unprocessed rows to a StoredProcedure, So that sql extension creates the stored procedure and this stored procedure can be executed by Keda Scaler as well.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions