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 WebSocket connection and message communication are working fine, but an issue arises when handling the data. The subscription ID and the parameters being passed in the handleChannelMessage method don't match.
Log Information:
The subscription ID in the log shows:
Relevant Code Snippet:
The handleChannelMessage method is where the message is processed, but it doesn’t seem to handle the subscription parameters correctly:
protectedvoidhandleChannelMessage(Stringchannel, Tmessage) {
if (channel == null) {
LOG.debug("Channel provided is null");
return;
}
NettyStreamingService<T>.Subscriptionsubscription = channels.get(channel);
if (subscription == null) {
LOG.debug("Channel has been closed {}.", channel);
return;
}
ObservableEmitter<T> emitter = subscription.emitter;
if (emitter == null) {
LOG.debug("No subscriber for channel {}.", channel);
return;
}
emitter.onNext(message);
}
Expected Behavior:
The subscription ID and the parameters passed to handleChannelMessage should match to ensure that the message is processed correctly.
The text was updated successfully, but these errors were encountered:
Lxk-Kallen
changed the title
**Issue with xchange-stream-gateio Module**
Issue with xchange-stream-gateio Module
Nov 5, 2024
Lxk-Kallen
changed the title
Issue with xchange-stream-gateio Module
Issue with [xchange-stream-gateio] Module
Nov 5, 2024
The WebSocket connection and message communication are working fine, but an issue arises when handling the data. The subscription ID and the parameters being passed in the
handleChannelMessage
method don't match.Log Information:
The subscription ID in the log shows:
However, in the
handleChannelMessage
method, the parameter being passed is:The parameters do not align, which may cause issues in processing the data.
Log Snippet:
Code:
The following is the code where the subscription and message handling are taking place:
Relevant Code Snippet:
The
handleChannelMessage
method is where the message is processed, but it doesn’t seem to handle the subscription parameters correctly:Expected Behavior:
The subscription ID and the parameters passed to
handleChannelMessage
should match to ensure that the message is processed correctly.The text was updated successfully, but these errors were encountered: