-
Notifications
You must be signed in to change notification settings - Fork 83
Fix scale monitor descriptor function id #451
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
Conversation
@microsoft-github-policy-service agree |
Hello @jainharsh98, Could you please take a look to this PR because as mentionned the target scaler does not work at all for now. Regards. |
Hello @jainharsh98, Any feedback for this simple fix? It prevents us to switch to target scaler, we are blocked for nearly 1 year. Thank you in advance. Best regards |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Co-authored-by: jainharsh98 <jainh@microsoft.com>
* Changing all references to net8.0 and build errors * Fixing end to end tests for confluent * Changes to make Lang E22E tests succeed * Install .net8 sdk in the build pipeline * removing confluent sdk dependency on e2e tests * Upgrading confluent package to 2.4.0(#504) * Fix scale monitor descriptor function id (#451) Co-authored-by: jainharsh98 <jainh@microsoft.com> * SslKeyPassword resolution as secret setting for output binding (#464) Co-authored-by: Gregory van de Wiele <Gregory.vandeWiele@eneco.com> Co-authored-by: jainharsh98 <jainh@microsoft.com> * Added OAuthBearer authentication mode (#437) Co-authored-by: Hakan Altinbasak <hakan.altinbasak@avanade.com> Co-authored-by: jainharsh98 <jainh@microsoft.com> * Fixing Msg commit for Cancellation Scenarios (#505) * Commiting msg in single mode if cancellation is not requested. * Removing stray space character * Removing checks for specific and generic records to allow for other data types for out of proc (#506) * Fix for schema registry and UTs (#507) * Updating extension version to 4.0.0 * Resolving Oauthbearer Authentication Attributes from Settings for Output Binding (#511) * Resolving secure settings from settings for oauthbearer authentication * Adding Unit Test cases for oauthbearer settings --------- Co-authored-by: Vivek Jilla <vijilla@microsoft.com> Co-authored-by: Vivek Jilla <vivekjilla7@gmail.com> Co-authored-by: Pierre Sk <17861564+pierre-sk@users.noreply.github.com> Co-authored-by: gvdwiele <22445+gvdwiele@users.noreply.github.com> Co-authored-by: Gregory van de Wiele <Gregory.vandeWiele@eneco.com> Co-authored-by: Hakan <hakan.altinbasak@gmail.com> Co-authored-by: Hakan Altinbasak <hakan.altinbasak@avanade.com>
Hello everyone,
The KafkaTargetScaler is using the obsolete ScaleMonitorDescriptor constructor without the functionId parameter.
When target scaling is enabled (by default) the ScaleManager compares the FunctionId to evaluate if a
ScaleMonitor
is used in case aTargetScaler
already exists. But for the same function, the FunctionId of the TargetScaler and ScaleMonitor are not equal.Both
ScaleMonitor
andTargetScaler
are retrieved for sampling. It leads to a bad behavior as the ScaleManager doesn't use theTargetScaler
to override the vote result when there is anyScaleMonitor
status.Example of a bad result on
/admin/host/scale/status
function runtime endpoint: