codelipenghui commented on code in PR #21311:
URL: https://github.com/apache/pulsar/pull/21311#discussion_r1368505442


##########
pip/pip-304.md:
##########
@@ -0,0 +1,85 @@
+# Motivation
+
+We have a scenario that uses the 
`org.apache.pulsar.broker.intercept.BrokerInterceptor#messageProduced`, and 
need to

Review Comment:
   But you can have a cache for metadata of the inflight messages, the key can 
be (topic, producerId, sequence) and the value is metadata, after the message 
is published, just retrieve it from the cache. This is a solution without 
waiting for a new feature version release because we should not cherry-pick any 
APIs changes to LTS version and patch release.



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