Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
Signed-off-by: Rick Brouwer <[email protected]>
  • Loading branch information
rickbrouwer committed Dec 4, 2024
1 parent 74a887f commit 067b827
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions pkg/scalers/rabbitmq_scaler.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,17 +84,17 @@ type rabbitMQMetadata struct {
// connection string for either HTTP or AMQP protocol
Host string `keda:"name=host, order=triggerMetadata;authParams;resolvedEnv"`
// either http or amqp protocol
Protocol string `keda:"name=protocol, order=triggerMetadata;authParams, default=auto"`
Protocol string `keda:"name=protocol, order=triggerMetadata;authParams, default=auto"`
// override the vhost from the connection info
VhostName string `keda:"name=vhostName, order=triggerMetadata, optional"`
// specify if the queueName contains a rexeg
UseRegex bool `keda:"name=useRegex, order=triggerMetadata, optional"`
// specify if the QueueLength value should exclude Unacknowledged messages (Ready messages only)
ExcludeUnacknowledged bool `keda:"name=excludeUnacknowledged, order=triggerMetadata, optional"`
// specify the page size if useRegex is enabled
PageSize int64 `keda:"name=pageSize, order=triggerMetadata, default=100"`
PageSize int64 `keda:"name=pageSize, order=triggerMetadata, default=100"`
// specify the operation to apply in case of multiples queues
Operation string `keda:"name=operation, order=triggerMetadata, default=sum"`
Operation string `keda:"name=operation, order=triggerMetadata, default=sum"`
// custom http timeout for a specific trigger
TimeoutMs int `keda:"name=timeout, order=triggerMetadata, optional"`

Expand Down
2 changes: 1 addition & 1 deletion pkg/scalers/solace_scaler.go
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ type SolaceMetadata struct {

// Target Message Count
MsgCountTarget int64 `keda:"name=messageCountTarget, order=triggerMetadata, optional"`
MsgSpoolUsageTarget int64 `keda:"name=messageSpoolUsageTarget, order=triggerMetadata, optional"` // Spool Use Target in Megabytes
MsgSpoolUsageTarget int64 `keda:"name=messageSpoolUsageTarget, order=triggerMetadata, optional"` // Spool Use Target in Megabytes
MsgRxRateTarget int64 `keda:"name=messageReceiveRateTarget, order=triggerMetadata, optional"` // Ingress Rate Target per consumer in msgs/second

// Activation Target Message Count
Expand Down

0 comments on commit 067b827

Please sign in to comment.