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

Send Key hash range change events to consumers in Key_Shared subscription. #6555

Open
codelipenghui opened this issue Mar 19, 2020 · 5 comments
Assignees
Labels
good first issue Good for newcomers help wanted type/feature The PR added a new feature or issue requested a new feature
Milestone

Comments

@codelipenghui
Copy link
Contributor

codelipenghui commented Mar 19, 2020

Master issue: #4077
Is your feature request related to a problem? Please describe.
Send Key hash range change events to consumers in Key_Shared subscription.

@zubchenok
Copy link

zubchenok commented Nov 29, 2020

Please up.
Unable to maintain a local consumer cache if I don't know when a key is not served by the consumer any more.

@codelipenghui codelipenghui added this to the 2.9.0 milestone Aug 21, 2021
@lhotari
Copy link
Member

lhotari commented Aug 21, 2021

When adding this feature, would it be possible to support this in the asynchronous API of the Pulsar Java Client too? I guess race conditions could be problematic unless pending receives are completed with exceptions?

@codelipenghui
Copy link
Contributor Author

@lhotari We have a consumer events listener https://github.com/apache/pulsar/blob/6704f12104219611164aa2bb5bbdfc929613f1bf/pulsar-client-api/src/main/java/org/apache/pulsar/client/api/ConsumerEventListener.java, users need to register a listener for getting the new events of the consumer

ConsumerBuilder<T> consumerEventListener(ConsumerEventListener consumerEventListener);

@eolivelli eolivelli modified the milestones: 2.9.0, 2.10.0 Oct 6, 2021
@codelipenghui codelipenghui added the good first issue Good for newcomers label Nov 8, 2021
poorbarcode added a commit to poorbarcode/pulsar that referenced this issue Nov 14, 2021
…ey_Shared subscription. Hi @codelipenghui, can you please take a look?
poorbarcode added a commit to poorbarcode/pulsar that referenced this issue Nov 14, 2021
poorbarcode added a commit to poorbarcode/pulsar that referenced this issue Nov 15, 2021
poorbarcode added a commit to poorbarcode/pulsar that referenced this issue Nov 15, 2021
poorbarcode added a commit to poorbarcode/pulsar that referenced this issue Nov 15, 2021
poorbarcode added a commit to poorbarcode/pulsar that referenced this issue Nov 19, 2021
poorbarcode added a commit to poorbarcode/pulsar that referenced this issue Nov 19, 2021
poorbarcode added a commit to poorbarcode/pulsar that referenced this issue Nov 19, 2021
poorbarcode added a commit to poorbarcode/pulsar that referenced this issue Nov 19, 2021
poorbarcode added a commit to poorbarcode/pulsar that referenced this issue Nov 23, 2021
poorbarcode added a commit to poorbarcode/pulsar that referenced this issue Nov 23, 2021
poorbarcode added a commit to poorbarcode/pulsar that referenced this issue Nov 23, 2021
poorbarcode added a commit to poorbarcode/pulsar that referenced this issue Nov 23, 2021
… events to consumers in Key_Shared subscription.
poorbarcode added a commit to poorbarcode/pulsar that referenced this issue Jan 29, 2022
poorbarcode added a commit to poorbarcode/pulsar that referenced this issue Jan 29, 2022
poorbarcode added a commit to poorbarcode/pulsar that referenced this issue Jan 29, 2022
poorbarcode added a commit to poorbarcode/pulsar that referenced this issue Jan 29, 2022
… events to consumers in Key_Shared subscription.
poorbarcode pushed a commit to poorbarcode/pulsar that referenced this issue Jan 29, 2022
…range change events to consumers in Key_Shared subscription.
@codelipenghui codelipenghui modified the milestones: 2.10.0, 2.11.0 Feb 14, 2022
@codelipenghui codelipenghui modified the milestones: 2.11.0, 2.12.0 Jul 26, 2022
@tisonkun
Copy link
Member

@codelipenghui Can you share a bit about what the remain works are before we close this issue?

@lhotari
Copy link
Member

lhotari commented Sep 10, 2024

I have shared an update about on-going design work which will be targeting this requirement, the updates are shared in this GitHub Discussion: #22912 (reply in thread) .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers help wanted type/feature The PR added a new feature or issue requested a new feature
Development

Successfully merging a pull request may close this issue.

7 participants