Skip to content

concord-server: refactor WebSocketChannelManager, allow message sources in plugins #1056

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ibodrov
Copy link
Collaborator

@ibodrov ibodrov commented Dec 23, 2024

A different to #1055 approach. Now server plugins can implement com.walmartlabs.concord.server.websocket.MessageChannel and provide their own process requests. Which, for example, allows for alternative methods of process dispatching in addition to the regular PROCESS_QUEUE -> websockets -> agents route.

Changes:

  • rename WebSocketChannelManager to MessageChannelManager
  • introduce com.walmartlabs.concord.server.websocket.MessageChannel and use it instead of WebSocketChannel whenever possible
  • tidy up the related code.

@ibodrov ibodrov force-pushed the ib/dispatcher-ext branch 4 times, most recently from cddfc83 to 53945a6 Compare December 24, 2024 05:06
@ibodrov ibodrov force-pushed the ib/dispatcher-ext branch 2 times, most recently from 59b9e36 to ad60bed Compare January 21, 2025 02:27
@mtkunkel mtkunkel force-pushed the ib/dispatcher-ext branch from ad60bed to 60462dc Compare March 10, 2025 14:49
@ibodrov ibodrov force-pushed the ib/dispatcher-ext branch from 60462dc to ecc83f7 Compare May 23, 2025 19:09
@ibodrov ibodrov requested a review from a team May 23, 2025 20:20
@ibodrov ibodrov force-pushed the ib/dispatcher-ext branch from ecc83f7 to 2098da1 Compare May 23, 2025 20:23
@ibodrov ibodrov marked this pull request as ready for review May 23, 2025 20:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant