-
Notifications
You must be signed in to change notification settings - Fork 4
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
Production : Solace PubSub+ connector version 1.3.0 Connector Issue : Connection breaks with broker in subscribing API #10
Comments
@teredpus the default reconnection retries by JCSMP client is now set to 0 since v1.2.0 https://github.com/SolaceProducts/pubsubplus-connector-mule-docs/blob/main/doc/release-notes.md#v120. Hence as you said you're configuring the Mule Reconnection Strategy forever, can you share the logs of the issue. |
Here the MuleSoft logs does not have any traces of issue but suddenly the api consumer disappears from solace queue and then messages starts piling up. Only after MuleSoft api restarts, it reconnects and consumes all messages. |
@teredpus as I mentioned before that the default reconnection strategy is at the connector client level is disabled, the connector will no more try to reconnect unless you've configured it to. You can read more about it in this doc https://github.com/SolaceProducts/pubsubplus-connector-mule-docs/blob/main/doc/technical-reference.md#reconnection . I hope you have implemented either of the mentioned Reconnection strategy here which will log if it is really trying to reconnect. Hence, the logs are crucial here. Moreover you can enable root level trace logging and share with us, which can help to root cause the problem. Because we're not seeing any such issue, you can also share a sample Mulesoft Flow and steps to reproduce this scenario that you're talking about, which we can then try to reproduce on our end. |
We have reconnection strategy set to forever with frequency. Its our observation that after seeing below error , the connection breaks and solace queues starts piling up. You can have reference to petcare-onetrust-sys-pr API, this API is using 1.3.1 version, have attached stack trace below :
Message : (JCSMPTransportException) Error receiving data from underlying connection.
|
For now can you disable the Mulesoft's reconnection strategy and enable the JCSMP reconnection config. ie. |
We noticed that with latest versions of solace pubsub+ connector 1.3.0 , the consuming API connection gets interrupted with solace queue and messages gets start piling up in solace queues.
Once the API restarts the connector reconnects and starts consuming the messages.
Connector configurations have reconnection strategy set to forever.
In old version, this issue wasn't observed. We have observed this behavior with new version.
We have proper reconnection strategy configured and have error handling in place.
This behavior is observed for multiple APIs.
The text was updated successfully, but these errors were encountered: