Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[question] Is There a Message Acknowledgment Mechanism? Recommendations for Implementing Acknowledgment? #885

Open
perfgao opened this issue Sep 18, 2024 · 1 comment

Comments

@perfgao
Copy link

perfgao commented Sep 18, 2024

Hello,
I am currently using Centrifugo for real-time messaging in our application, and I have a couple of questions regarding message acknowledgment:

Message Acknowledgment: Does Centrifugo have a built-in message acknowledgment mechanism? If so, could you please provide some details on how it works?

Implementing Acknowledgment: If Centrifugo does not support a built-in acknowledgment mechanism, do you have any recommendations or best practices for implementing message acknowledgment at the application level? For example, any suggested patterns for ensuring that messages are successfully received and processed by clients?

@perfgao perfgao changed the title [question] [question] Is There a Message Acknowledgment Mechanism? Recommendations for Implementing Acknowledgment? Sep 18, 2024
@FZambia
Copy link
Member

FZambia commented Sep 19, 2024

Hello @perfgao

There is no built-in ack support, check out FAQ: https://centrifugal.dev/docs/faq#how-can-i-know-a-message-is-delivered-to-a-client - so it's possible to implement the mechanism sending requests from the client to your backend - using HTTP, or maybe Centrifugo RPC proxy.

But the rest depends on your specific case. Since I am not aware of app specifics I can not provide any other useful advice at this point.

If you see that the ack mechanism should be somehow part of Centrifugo – need to look closer on exact problematic and how built-in implementation is better than suggested in FAQ.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants