You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The publish function is asynchronous, and after sending, it may not have finished yet. The issue is when the producer should close the connection. It is necessary to modify publish to be synchronous, so that it confirms the message has been sent before returning.
The text was updated successfully, but these errors were encountered:
What I can suggest you is to use the outbox sub module instead, so that the messages are stored in a db table and sent eventually, so no matter if the application stops it will eventually send the message.
The publish function is asynchronous, and after sending, it may not have finished yet. The issue is when the producer should close the connection. It is necessary to modify publish to be synchronous, so that it confirms the message has been sent before returning.
The text was updated successfully, but these errors were encountered: