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

[feature][broker] PIP-204: Extensions for broker interceptor #17269

Merged
merged 1 commit into from
Sep 15, 2022

Conversation

aloyszhang
Copy link
Contributor

@aloyszhang aloyszhang commented Aug 25, 2022

Fixes #17267

Motivation

extend BrokerInterceptor, details see #17267

Does this pull request potentially affect one of the following parts:

If yes was chosen, please highlight the changes

  • Dependencies (does it add or upgrade a dependency): ( no)
  • The public API: ( yes)
  • The schema: ( no)
  • The default values of configurations: ( no)
  • The wire protocol: ( no)
  • The rest endpoints: ( no)
  • The admin cli options: ( no)
  • Anything that affects deployment: (no)

Documentation

  • doc-not-needed

@github-actions github-actions bot added the doc-not-needed Your PR changes do not impact docs label Aug 25, 2022
@codelipenghui
Copy link
Contributor

@aloyszhang It should be a public API change, the proposal is required so that we can make everyone on the same page that how the new API will be used by users.

@aloyszhang
Copy link
Contributor Author

aloyszhang commented Aug 25, 2022

@codelipenghui Thanks, I'll send a discuss email to dev soon.

@aloyszhang
Copy link
Contributor Author

@aloyszhang
Copy link
Contributor Author

/pulsarbot run-failure-checks

@aloyszhang
Copy link
Contributor Author

aloyszhang commented Sep 5, 2022

The vote(https://lists.apache.org/thread/ckxqgoyjkqgbp6szn2vh9ynzbsjxm3yy) for this PIP is now passed.
PTAL @codelipenghui @Jason918 @eolivelli @Technoboy- , thanks.

@aloyszhang aloyszhang changed the title extend BrokerInterceptor for more scenes [feature][broker]extend BrokerInterceptor for more scenes Sep 5, 2022
@AnonHxy
Copy link
Contributor

AnonHxy commented Sep 6, 2022

LGTM

Copy link
Member

@wolfstudy wolfstudy left a comment

Choose a reason for hiding this comment

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

LGTM +1

Copy link
Contributor

@eolivelli eolivelli left a comment

Choose a reason for hiding this comment

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

Lgtm

@aloyszhang
Copy link
Contributor Author

/pulsarbot run-failure-checks

1 similar comment
@aloyszhang
Copy link
Contributor Author

/pulsarbot run-failure-checks

@Jason918 Jason918 added type/feature The PR added a new feature or issue requested a new feature area/broker labels Sep 8, 2022
@Jason918 Jason918 changed the title [feature][broker]extend BrokerInterceptor for more scenes [feature][broker] PIP-204: Extensions for broker interceptor Sep 8, 2022
Copy link
Contributor

@codelipenghui codelipenghui left a comment

Choose a reason for hiding this comment

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

I think you have removed the test coverage?

Comment on lines 329 to 331
if (brokerInterceptor != null) {
brokerInterceptor.producerClosed(this, producer, producer.getMetadata());
}
Copy link
Contributor

Choose a reason for hiding this comment

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

Looks like we don't need if check here?

@aloyszhang
Copy link
Contributor Author

I think you have removed the test coverage?

which part do you mean?

@aloyszhang aloyszhang force-pushed the interceptor branch 2 times, most recently from 06a42b3 to b264a92 Compare September 9, 2022 12:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/broker doc-not-needed Your PR changes do not impact docs type/feature The PR added a new feature or issue requested a new feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

PIP-204 Extensions for broker interceptor
7 participants