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

Used protobuf-3.x and auto-generation for ManagedLedger and schema registry protobuf #1812

Merged
merged 1 commit into from
May 19, 2018

Conversation

merlimat
Copy link
Contributor

Motivation

Since ManagedLedger protobuf code was using the regular 2.4.1 protoc generated code, we can upgrade to 3.x and use maven plugin to automatically generate the Java code.

@merlimat merlimat added type/enhancement The enhancements for the existing features or docs. e.g. reduce memory usage of the delayed messages area/build labels May 18, 2018
@merlimat merlimat added this to the 2.1.0-incubating milestone May 18, 2018
@merlimat merlimat self-assigned this May 18, 2018
@merlimat merlimat requested review from sijie, rdhabalia and jai1 May 18, 2018 19:58
@@ -20,7 +20,7 @@ syntax = "proto2";

package pulsar.schema;
option java_package = "org.apache.pulsar.broker.service.schema.proto";
option optimize_for = LITE_RUNTIME;
option optimize_for = SPEED;
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Change here was because LITE_RUNTIME generated code from protobuf-3x was having compile errors.

@merlimat
Copy link
Contributor Author

retest this please

1 similar comment
@srkukarni
Copy link
Contributor

retest this please

@merlimat merlimat merged commit d7d6ea7 into apache:master May 19, 2018
@merlimat merlimat deleted the remove-internal-shading branch May 19, 2018 02:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/build type/enhancement The enhancements for the existing features or docs. e.g. reduce memory usage of the delayed messages
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants