You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by "codelipenghui (via GitHub)" <gi...@apache.org> on 2026/02/28 00:54:38 UTC

[PR] [improve][client][functions] Support protobuf v4 schema compatibility [pulsar]

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

   ### Motivation\nFixes #25202.\n\nPulsar protobuf schema APIs were bounded to GeneratedMessageV3, which breaks usage with protobuf v4 generated classes (for example Any).\n\n### Modifications\n- Widened protobuf schema-related generic bounds from GeneratedMessageV3 to Message in client API/binding and implementations.\n- Updated protobuf schema reader/writer/native classes and runtime validation checks to use Message.\n- Kept strict generated-message validation via descriptor/default-instance reflective paths.\n- Added API signature regression test to lock in Message upper bounds.\n- Added/updated protobuf schema tests for client and native paths.\n- Updated pulsar-functions protobuf class detection to work with protobuf v4 (Message-based detection).\n- Added protobuf-v4 required CI job for client + functions tests using v4 property overrides.\n\n### Testing\n- Ran functions protobuf-related tests locally out of sandbox:\n  - org.apache.pulsar.functions.instance.JavaInstanceRunnabl
 eTest\n  - org.apache.pulsar.functions.source.TopicSchemaTest\n


-- 
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: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [improve][client][functions] Support protobuf v4 schema compatibility [pulsar]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on PR #25261:
URL: https://github.com/apache/pulsar/pull/25261#issuecomment-3962232543

   @codelipenghui Please add the following content to your PR description and select a checkbox:
   ```
   - [ ] `doc` <!-- Your PR contains doc changes -->
   - [ ] `doc-required` <!-- Your PR changes impact docs and you will update later -->
   - [ ] `doc-not-needed` <!-- Your PR changes do not impact docs -->
   - [ ] `doc-complete` <!-- Docs have been already added -->
   ```


-- 
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: commits-unsubscribe@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org