Hi Pulsar community,

I would like to start a discussion on PIP-501: Scheduled delivery metadata
for Java Functions and IO records.

Currently, `org.apache.pulsar.functions.api.Record<T>` does not provide a
typed way to set scheduled delivery timestamps, forcing connectors or
functions to bypass the runtime-managed publishing and acknowledgement path
if they need delayed delivery. This proposal introduces an optional
`Record.getDeliverAtTime()` default method, propagates it through Java
runtime record wrappers and `FunctionRecordBuilder`, and forwards it to the
existing client `deliverAt(long)` API without broker, wire protocol, or
configuration changes.

- Proposal PR: https://github.com/apache/pulsar/pull/27287
- Rendered proposal document:
https://github.com/freeznet/pulsar/blob/pip/record-delivery-time/pip/pip-501.md
- Draft implementation PR: https://github.com/apache/pulsar/pull/27288

Looking forward to your feedback.

Thanks,
Rui Fu

Reply via email to