Skip to content

Conversation

aireet
Copy link
Contributor

@aireet aireet commented Sep 22, 2022

What is the purpose of the change

when I use one group subscribe many topics, if one topic process very slow and the channl is shared in same pushConsumer, it will block anothers processor

image

Brief changelog

XX

Verifying this change

XXXX

Follow this checklist to help us incorporate your contribution quickly and easily. Notice, it would be helpful if you could finish the following 5 checklist(the last one is not necessary)before request the community to review your PR.

  • Make sure there is a Github issue filed for the change (usually before you start working on it). Trivial changes like typos do not require a Github issue. Your pull request should address just this issue, without pulling in other changes - one PR resolves one issue.
  • Format the pull request title like [ISSUE #123] Fix UnknownException when host config not exist. Each commit in the pull request should have a meaningful subject line and body.
  • Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
  • Write necessary unit-test(over 80% coverage) to verify your logic correction, more mock a little better when a cross-module dependency exists.
  • If this contribution is large, please file an Apache Individual Contributor License Agreement.

@aireet aireet changed the title [feat] msg [feat] don't share limit channel in pushConsumer Sep 22, 2022
@aireet aireet requested review from cserwen and removed request for maixiaohai, wenfengwang and xujianhai666 September 27, 2022 06:59
Copy link
Member

@cserwen cserwen left a comment

Choose a reason for hiding this comment

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

LGTM

@codecov-commenter
Copy link

codecov-commenter commented Sep 27, 2022

Codecov Report

Merging #923 (385f81f) into master (0323905) will increase coverage by 0.02%.
The diff coverage is 60.00%.

@@            Coverage Diff             @@
##           master     #923      +/-   ##
==========================================
+ Coverage   23.59%   23.61%   +0.02%     
==========================================
  Files          52       52              
  Lines        7167     7169       +2     
==========================================
+ Hits         1691     1693       +2     
  Misses       5246     5246              
  Partials      230      230              
Impacted Files Coverage Δ
consumer/push_consumer.go 12.80% <60.00%> (+0.19%) ⬆️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@aireet
Copy link
Contributor Author

aireet commented Sep 28, 2022

when will this be merged? i see this #910 may Conflict, shoud i fix it?

@cserwen
Copy link
Member

cserwen commented Sep 28, 2022

when will this be merged? i see this #910 may Conflict, shoud i fix it?

I didn't find a conflict, can you show it @aireet

@aireet
Copy link
Contributor Author

aireet commented Sep 28, 2022

no conflict, i was wrong

@ShannonDing ShannonDing changed the title [feat] don't share limit channel in pushConsumer [ISSUE #926] don't share limit channel in pushConsumer Sep 28, 2022
@ShannonDing ShannonDing linked an issue Sep 28, 2022 that may be closed by this pull request
@ShannonDing ShannonDing merged commit 92515f7 into apache:master Sep 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

separate channels in push consumer.
4 participants