Skip to content

refactor pulsar scaler#6848

Merged
JorTurFer merged 3 commits intokedacore:mainfrom
rickbrouwer:pulsar
Aug 7, 2025
Merged

refactor pulsar scaler#6848
JorTurFer merged 3 commits intokedacore:mainfrom
rickbrouwer:pulsar

Conversation

@rickbrouwer
Copy link
Member

Refactor pulsar scaler

Checklist

Relates to #5797

Signed-off-by: Rick Brouwer <rickbrouwer@gmail.com>
@rickbrouwer rickbrouwer requested a review from a team as a code owner June 18, 2025 19:11
@rickbrouwer
Copy link
Member Author

rickbrouwer commented Jun 18, 2025

/run-e2e pulsar
Update: You can check the progress here

Copy link
Contributor

@dttung2905 dttung2905 left a comment

Choose a reason for hiding this comment

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

Generally LGTM, just 1 tiny nit from me and we are good to go

@rickbrouwer
Copy link
Member Author

rickbrouwer commented Jun 19, 2025

/run-e2e pulsar
Update: You can check the progress here

Signed-off-by: Rick Brouwer <rickbrouwer@gmail.com>
@rickbrouwer
Copy link
Member Author

rickbrouwer commented Jun 19, 2025

/run-e2e pulsar
Update: You can check the progress here

Signed-off-by: Rick Brouwer <rickbrouwer@gmail.com>
@rickbrouwer
Copy link
Member Author

rickbrouwer commented Jul 23, 2025

/run-e2e pulsar
Update: You can check the progress here

@rickbrouwer rickbrouwer added the ok-to-merge This PR can be merged label Jul 24, 2025
@rickbrouwer
Copy link
Member Author

rickbrouwer commented Jul 24, 2025

/run-e2e pulsar
Update: You can check the progress here

@JorTurFer JorTurFer merged commit 48db78a into kedacore:main Aug 7, 2025
24 checks passed
Comment on lines +47 to +52
OauthTokenURI string `keda:"name=oauthTokenURI, order=triggerMetadata, optional"`
Scope string `keda:"name=scope, order=triggerMetadata, optional"`
ClientID string `keda:"name=clientID, order=triggerMetadata, optional"`
EndpointParams string `keda:"name=EndpointParams, order=triggerMetadata, optional"`

pulsarAuth *authentication.AuthMeta
Copy link
Member

Choose a reason for hiding this comment

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

any chance this can be replaced by authentication.Config? No problem if not, just thought it might simplify the code a bit if it helps.

// Config is the configuration for the authentication types
type Config struct {
Modes []Type `keda:"name=authModes, order=triggerMetadata, enum=apiKey;basic;tls;bearer;custom;oauth, exclusiveSet=bearer;basic;oauth, optional"`
BearerToken string `keda:"name=bearerToken, order=authParams, optional"`
BasicAuth `keda:"optional"`
CertAuth `keda:"optional"`
OAuth `keda:"optional"`
CustomAuth `keda:"optional"`
}

Copy link
Member Author

Choose a reason for hiding this comment

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

Oh, it just happened to be merged when you posted your comment. Perhaps consider converting this request to an issue with a "good-first-issue" label?

Copy link
Member

@wozniakjan wozniakjan Aug 7, 2025

Choose a reason for hiding this comment

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

yeah, race condition with maintainer executions, happens all the time...

Copy link
Member

@JorTurFer JorTurFer Aug 7, 2025

Choose a reason for hiding this comment

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

This is my fault, I shouldn't review and merge anything else 😄 Just live and enjoy 🤣
Yeah, let's open an issue for this, it's a quite good good-first-issue

Copy link
Member

Choose a reason for hiding this comment

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

all good, technically I reviewed late according to the timestamps

@rickbrouwer rickbrouwer deleted the pulsar branch August 7, 2025 12:40
@wozniakjan wozniakjan mentioned this pull request Aug 8, 2025
3 tasks
dpochopsky pushed a commit to dpochopsky/keda that referenced this pull request Sep 12, 2025
* refactor pulsar scaler

Signed-off-by: Rick Brouwer <rickbrouwer@gmail.com>

* Update after feedback

Signed-off-by: Rick Brouwer <rickbrouwer@gmail.com>

---------

Signed-off-by: Rick Brouwer <rickbrouwer@gmail.com>
Signed-off-by: David Pochopsky <david.pochopsky@united.com>
alt-dima pushed a commit to alt-dima/keda that referenced this pull request Dec 13, 2025
* refactor pulsar scaler

Signed-off-by: Rick Brouwer <rickbrouwer@gmail.com>

* Update after feedback

Signed-off-by: Rick Brouwer <rickbrouwer@gmail.com>

---------

Signed-off-by: Rick Brouwer <rickbrouwer@gmail.com>
Signed-off-by: Dmitriy Altuhov <altuhovd@gmail.com>
tangobango5 pushed a commit to tangobango5/keda that referenced this pull request Dec 22, 2025
* refactor pulsar scaler

Signed-off-by: Rick Brouwer <rickbrouwer@gmail.com>

* Update after feedback

Signed-off-by: Rick Brouwer <rickbrouwer@gmail.com>

---------

Signed-off-by: Rick Brouwer <rickbrouwer@gmail.com>
tangobango5 pushed a commit to tangobango5/keda that referenced this pull request Feb 13, 2026
* refactor pulsar scaler

Signed-off-by: Rick Brouwer <rickbrouwer@gmail.com>

* Update after feedback

Signed-off-by: Rick Brouwer <rickbrouwer@gmail.com>

---------

Signed-off-by: Rick Brouwer <rickbrouwer@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ok-to-merge This PR can be merged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants