forked from apache/pulsar
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[PROTOBUF] Fix protobuf generation on handling repeated long number … (…
…apache#7540) *Motivation* The code generation for `repeated long` is not handled properly. (I am not sure how changes were made to PulsarApi.proto) *Modification* This pull request adds the code to handle generating code for `repeated long`. *Test* Add unit test to ensure `repeated long` is processed. Add test cases to cover both packed and non-package serialization for `repeated long`. See more details about packed serialization: https://developers.google.com/protocol-buffers/docs/encoding#optional
- Loading branch information
Showing
7 changed files
with
853 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
pulsar-common/src/main/java/org/apache/pulsar/common/api/proto/PulsarApi.java
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.