MarvinCai opened a new pull request #8401:
URL: https://github.com/apache/pulsar/pull/8401
### Motivation
Update produce request and acknowledge for WebSocket as it shares common
struct with the produce req/ack we want to add for REST API, the change also
make it possible to add schema support for Websocket producer later.
### Modifications
Add some more fields such as keySchema/valueSchema, schemaVersion deliverAt,
deliverAfter so we can support more feature like schema for Websocket producer
later.
Also added batch produce/ack request class to represent req/resp for
multiple messages.
### Verifying this change
This change is already covered by existing tests, such as *(please describe
tests)*.
### Does this pull request potentially affect one of the following parts:
- Dependencies (does it add or upgrade a dependency): ( no)
- The public API: (no)
- The schema: (no)
- The default values of configurations: (no)
- The wire protocol: (no)
- The rest endpoints: (no)
- The admin cli options: (no)
- Anything that affects deployment: (no)
### Documentation
- Does this pull request introduce a new feature? (yes)
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]