Skip to content
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

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

Draft
wants to merge 4 commits 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.

TODO: rename package

@ibodrov ibodrov force-pushed the ib/dispatcher-ext branch 2 times, most recently from 65f1502 to 560c16a Compare December 23, 2024 16:33
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