cbornet opened a new issue, #17114:
URL: https://github.com/apache/pulsar/issues/17114

   ### Search before asking
   
   - [X] I searched in the [issues](https://github.com/apache/pulsar/issues) 
and found nothing similar.
   
   
   ### Motivation
   
   Currently the API to create a Record from the Function Context is
   ```java
   <X> FunctionRecord.FunctionRecordBuilder<X> newOutputRecordBuilder();
   ```
   It should be
   ```java
   <X> FunctionRecord.FunctionRecordBuilder<X> newOutputRecordBuilder(Schema<X> 
schema);
   ```
   to ensure the record has a Schema since the record will be used to publish 
to a Pulsar topic.
   
   ### Solution
   
   _No response_
   
   ### Alternatives
   
   _No response_
   
   ### Anything else?
   
   This should be done before the release of 2.11 since it's an API change.
   
   ### Are you willing to submit a PR?
   
   - [X] I'm willing to submit a PR!


-- 
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