About Publisher confirms Time #10161
-
|
I have two question for Publisher Confirms Time. from this blog introducing-publisher-confirms, I have a question for Confirm Time.
I vex 2 Confirm's Time which one will faster?I guess, Am I right? so base first question i have second question for Publisher Confirms and Guaranteed Delivery
This one means Consumer use i think lose persistent messages will happen by Publisher received an ack from Consumer auto ack,and Comsumer maybe down when queue deliver msg and broker down before msg written to disk. So for Publisher Confirms and Guaranteed Delivery, Publisher need open Confirm and Return, Quese and MSG need durable, And Consumer need use Am I right? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
|
Publisher confirms are generally entirely orthogonal to consumer acknowledgements, just like publishers are unaware of consumers and vice versa. We cannot speculate as to which event "will be faster", in particular in the presence of multiple queues. By far the best choice for data safety, besides using publisher confirms, would be to also use a quorum queue or a stream (this means using a different client library and protocol, of course).
refers to consumer acknowledgements as far as I can tell, I will update that section to make it clearer, as in the rest of the guides. Using publisher confirms and then automatic acknowledgements on the consumer end is weird: you claim that your data is important when publishing but then claim the opposite when consuming. So which one is it? |
Beta Was this translation helpful? Give feedback.

Publisher confirms are generally entirely orthogonal to consumer acknowledgements, just like publishers are unaware of consumers and vice versa.
We cannot speculate as to which event "will be faster", in particular in the presence of multiple queues. By far the best choice for data safety, besides using publisher confirms, would be to also use a quorum queue or a stream (this means using a different client library and protocol, of course).
refers to consumer acknowledgements as far as I can tell, I will update that section to make it clearer, as in the rest of the guides.
Using publisher confirms and then automatic acknowledgements on the consumer end is wei…