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 the getSchema logic in pulsar proxy #4975

Merged
merged 1 commit into from
Aug 19, 2019

Conversation

sijie
Copy link
Member

@sijie sijie commented Aug 18, 2019

Motivation

The getSchema logic in Pulsar proxy handler doesn't handle the case that
the request doesn't have schema version.

Modification

  • Fix the logic to handle the case that a GetSchema request doesn't have schema version.
  • Forward the GetSchemaResponse back to the client

Tests

The GetSchema tests in ProxyTest was disabled by mistake. Turn it on.

*Motivation*

The getSchema logic in Pulsar proxy handler doesn't handle the case that
the request doesn't have schema version.

*Modification*

- Fix the logic to handle the case that a GetSchema request doesn't have schema version.
- Forward the GetSchemaResponse back to the client

*Tests*

The GetSchema tests in ProxyTest was disabled by mistake. Turn it on.
@sijie sijie added type/bug The PR fixed a bug or issue reported a bug component/schemaregistry area/proxy labels Aug 18, 2019
@sijie sijie added this to the 2.4.1 milestone Aug 18, 2019
@sijie sijie self-assigned this Aug 18, 2019
@codelipenghui
Copy link
Contributor

@congbobo184 Please help take a look these changes, thanks.

@congbobo184
Copy link
Contributor

overall looks good to me. :)

@sijie sijie merged commit 676fd71 into apache:master Aug 19, 2019
jiazhai pushed a commit that referenced this pull request Aug 28, 2019
*Motivation*

The getSchema logic in Pulsar proxy handler doesn't handle the case that
the request doesn't have schema version.

*Modification*

- Fix the logic to handle the case that a GetSchema request doesn't have schema version.
- Forward the GetSchemaResponse back to the client

*Tests*

The GetSchema tests in ProxyTest was disabled by mistake. Turn it on.
(cherry picked from commit 676fd71)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/proxy type/bug The PR fixed a bug or issue reported a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants