merlimat opened a new pull request, #25366:
URL: https://github.com/apache/pulsar/pull/25366

   ## Summary
   
   Migrate the `pulsar-functions/proto` module from standard Google protobuf to 
LightProto, continuing the effort to remove protobuf-java dependency from 
Pulsar internals.
   
   - Replace `protobuf-maven-plugin` with `lightproto-maven-plugin` in proto 
`pom.xml`
   - Replace `google.protobuf.Empty` with local `Empty` message for gRPC 
compatibility (identical wire format)
   - Adapt all Java sources across `instance`, `runtime`, `worker`, `utils`, 
`secrets`, and `localrunner` modules to use LightProto API:
     - Mutable objects instead of Builder pattern
     - Indexed iteration for repeated fields
     - `isX()` boolean getters, `getValue()` for enums
     - `copyFrom()` instead of `toBuilder()`
     - Base64 binary serialization instead of `JsonFormat`
     - `StreamObserver`-based async gRPC instead of `FutureStub`
   
   ### Documentation
   - [x] `doc-not-needed`
   
   ### Matching PR in forked repository
   
   _No response_


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to