alpacahq / alpacahq/Alpaca-API

Migrate polygon integration from NATS to websocket cluster.

未关闭
#30 7 条评论 3 个 reaction 已指派 0 人 在 GitHub 查看
feature request
主要语言
没有语言数据
星标
174
派生
17
PR 合并指标
30 天内没有已合并 PR

描述

Polygon has seemingly switched their real-time integrations from NATS to a websocker cluster [0]. We should probably switch this over for improved stability [1].

[0 - websocket cluster docs](https://polygon.io/sockets)
[1 - deprecation notices on their github](https://github.com/Polygon-io/client-examples#nats-clients)

Also adding an error messages that has been seen on the NATS cluster:

```java
Exception in thread "Thread-0" java.io.IOException: Unable to connect to gnatsd server.
at io.nats.client.impl.NatsConnection.connect(NatsConnection.java:185)
at io.nats.client.impl.NatsImpl.createConnection(NatsImpl.java:28)
at io.nats.client.Nats.createConnection(Nats.java:192)
at io.nats.client.Nats.connect(Nats.java:147)
```

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。