redpanda-data / redpanda-data/connect

Websockets || Multiple Send Messages

Open
#1,381 1 comment 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement inputs ux
Dominant language
Go
Stars
8.8k
Forks
969
Avg merge
1d 13h
Merged PRs (30d)
64

Description

I'm trying to connect to the Polygion.io websocket for all trades. In order to connect, you need to send a message to authenticate:

{"action":"auth","params":"********"}

Then once you're authenticated, another to subscribe:

{"action":"subscribe","params":"T.*"}

From what I can tell, the open_message only sends one send request and there can't be multiple strings within the open_message. Any suggestions if this is possible, if not, is this something you'd be open to adding?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the linked Polygon.io websocket documentation and locating the websocket input's open_message handling and send behavior. Determine how authentication followed by subscription messages should be represented, then verify that multiple messages can be sent in order for the reported workflow.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
stream-processing
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.