Skip to content

[improve][broker] Use shared broker client scheduled executor provider#16338

Merged
codelipenghui merged 2 commits into
apache:masterfrom
codelipenghui:penghui/shared-broker-client-schedule-executor
Jul 4, 2022
Merged

[improve][broker] Use shared broker client scheduled executor provider#16338
codelipenghui merged 2 commits into
apache:masterfrom
codelipenghui:penghui/shared-broker-client-schedule-executor

Conversation

@codelipenghui

@codelipenghui codelipenghui commented Jul 2, 2022

Copy link
Copy Markdown
Contributor

Motivation

#16334 supports passing scheduled executor to the client. Use a shared scheduled executor
for the broker clients which used by replicator and system topics.

Documentation

Check the box below or label this PR directly.

Need to update docs?

  • doc-required
    (Your PR needs to update docs and you will update later)

  • doc-not-needed
    (Please explain why)

  • doc
    (Your PR contains doc changes)

  • doc-complete
    (Docs have been already added)

### Motivation

apache#16334 supports passing scheduled executor to the client. Use a shared scheduled executor
for the broker clients which used by replicator and system topics.
@codelipenghui codelipenghui self-assigned this Jul 2, 2022
@codelipenghui codelipenghui added this to the 2.11.0 milestone Jul 2, 2022
@github-actions github-actions Bot added the doc-not-needed Your PR changes do not impact docs label Jul 2, 2022
@codelipenghui codelipenghui added type/enhancement The enhancements for the existing features or docs. e.g. reduce memory usage of the delayed messages area/broker release/2.10.2 release/2.9.4 and removed doc-not-needed Your PR changes do not impact docs labels Jul 2, 2022
@github-actions

github-actions Bot commented Jul 2, 2022

Copy link
Copy Markdown

@codelipenghui Please provide a correct documentation label for your PR.
Instructions see Pulsar Documentation Label Guide.

@github-actions github-actions Bot added doc-label-missing doc-not-needed Your PR changes do not impact docs and removed doc-label-missing labels Jul 2, 2022
Comment thread pulsar-broker/src/main/java/org/apache/pulsar/broker/PulsarService.java Outdated
…vice.java

Co-authored-by: JiangHaiting <jason.918@qq.com>

@eolivelli eolivelli left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Lgtm

@codelipenghui
codelipenghui requested a review from Jason918 July 2, 2022 13:55

@poorbarcode poorbarcode left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This PR will make multiple clients in the broker node share the same scheduled executor object. Lgtm.

@codelipenghui
codelipenghui merged commit 4dd4ba5 into apache:master Jul 4, 2022
@codelipenghui
codelipenghui deleted the penghui/shared-broker-client-schedule-executor branch July 4, 2022 01:32
Nicklee007 pushed a commit to Nicklee007/pulsar that referenced this pull request Jul 5, 2022
codelipenghui added a commit that referenced this pull request Jul 10, 2022
nicoloboschi pushed a commit to datastax/pulsar that referenced this pull request Jul 11, 2022
wuxuanqicn pushed a commit to wuxuanqicn/pulsar that referenced this pull request Jul 14, 2022
@congbobo184 congbobo184 added the cherry-picked/branch-2.9 Archived: 2.9 is end of life label Nov 10, 2022
congbobo184 pushed a commit that referenced this pull request Nov 10, 2022
congbobo184 pushed a commit that referenced this pull request Dec 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/broker cherry-picked/branch-2.9 Archived: 2.9 is end of life cherry-picked/branch-2.10 doc-not-needed Your PR changes do not impact docs release/2.9.4 release/2.10.2 type/enhancement The enhancements for the existing features or docs. e.g. reduce memory usage of the delayed messages

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants