binance-connector-java
binance-connector-java copied to clipboard
refactor(websockets)!: remove WebSocketCallback abstraction to avoid …
…losing data between websockets and callbacks
[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: Hazard4U
The full list of commands accepted by this bot can be found here.
Approvers can indicate their approval by writing /approve
in a comment
Approvers can cancel approval by writing /approve cancel
in a comment
This PR makes breaking changes, but I think it's important to avoid losing any data between the original websocket and the callbacks given to the user.
My use case was as follows:
When the socket failes due to java.net.SocketException: Connection reset
, I was not able to tell if it failed due to the connection reset or some other failure. Now you can catch the throwable in onFailure and find out if a restart is needed.
Hi , when are u planning to merge this PR ? need this feature
@Hazard4U: PR needs rebase.
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.
@Hazard4U: PR needs rebase.
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.
@Hazard4U: PR needs rebase.
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.
@Hazard4U: PR needs rebase.
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.
@Hazard4U: PR needs rebase.
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.
@Hazard4U: PR needs rebase.
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.
@Hazard4U: PR needs rebase.
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.
@Hazard4U: PR needs rebase.
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.
@Hazard4U: PR needs rebase.
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.
@Hazard4U: PR needs rebase.
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.
Thank you @Hazard4U! We were finally able to get into this and now planning to publish it to v3.0.0rc2
.
Since this PR is already from a while ago and to solve the conflicts here we would require you to update your repo's branch, we've decided to create https://github.com/binance/binance-connector-java/pull/81 instead with your commits in it to speed things up. :)
This being said, I think it's safe to close this PR now.