LeBW commented on a change in pull request #11553: URL: https://github.com/apache/pulsar/pull/11553#discussion_r686933152
########## File path: pulsar-client-api/src/main/java/org/apache/pulsar/client/api/Message.java ########## @@ -245,4 +245,22 @@ * @since 2.8.0 */ void release(); + + /** + * Get broker publish time from broker entry metadata. + * Note that only if the feature is enabled in the broker then the value is available. + * + * @since 2.9.0 + * @return broker publish time from broker entry metadata, or empty if the feature is not enabled in the broker. + */ + Optional<Long> getBrokerPublishTime(); Review comment: Done -- 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-unsubscr...@pulsar.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org