I did not see how messages will be deleted by brokers once they are consumed.
Course: https://www.educative.io/collection/10370001/4941429335392256
Lesson: https://www.educative.io/collection/page/10370001/4941429335392256/5367894619193344
I did not see how messages will be deleted by brokers once they are consumed.
Course: https://www.educative.io/collection/10370001/4941429335392256
Lesson: https://www.educative.io/collection/page/10370001/4941429335392256/5367894619193344
Hi Zhimin.
In a pub-sub system, we know who needs which data. Once all the subscribers of a specific data item have read the data and acknowledged the reading, the system might garbage collect such data item. If some data item is not read for a long time, it might be deleted per the policy. Many deletion and retention policies are possible.
I hope that clears it up. If you have any further questions, feel free to reach out to us.
Thank you.