alpacahq / alpacahq/Alpaca-API

Migrate polygon integration from NATS to websocket cluster.

Open
#30 7 comments 3 reactions 0 assignees View on GitHub
feature request
Dominant language
No language data
Stars
174
Forks
17
PR merge metrics
No merged PRs in 30d

Description

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)
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.