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

[fix] [proxy] Fix pattern consumer does not work when using Proxy #23489

Merged
merged 1 commit into from
Oct 21, 2024

Conversation

poorbarcode
Copy link
Contributor

Motivation

#22854 added a new method List<Integer> getExistsPartitions(String topic), which depends on the new method GetTopicsResult.nonPartitionedOrPartitionTopics, but the author of the PR forgot the change the deserializer of Pulsar-Proxy, which may cause the following issue:

  • Broker respond: tp-partition-0
  • Proxy received tp-partition-0 and recreate a new response that may remove the suffix -partition-0 to client
  • Client received tp, which without -partition-0
    • Client assumed the parition 0 does not exists.

Modifications

Fix the bug

Documentation

  • doc
  • doc-required
  • doc-not-needed
  • doc-complete

Matching PR in forked repository

PR in forked repository: x

@poorbarcode
Copy link
Contributor Author

/pulsarbot rerun-failure-checks

Copy link
Member

@lhotari lhotari left a comment

Choose a reason for hiding this comment

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

LGTM

@lhotari lhotari merged commit a0beab0 into apache:master Oct 21, 2024
60 of 62 checks passed
lhotari pushed a commit that referenced this pull request Oct 21, 2024
lhotari pushed a commit that referenced this pull request Oct 21, 2024
lhotari pushed a commit that referenced this pull request Oct 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants