Skip to content

feat(events): allow stomp server to handle multiple event sources#1386

Open
JamesDoingStuff wants to merge 1 commit into
mainfrom
jg/waffle-test-posixuid
Open

feat(events): allow stomp server to handle multiple event sources#1386
JamesDoingStuff wants to merge 1 commit into
mainfrom
jg/waffle-test-posixuid

Conversation

@JamesDoingStuff

Copy link
Copy Markdown
Contributor

AP-1158
Each new connection is stored in a connection manager object, each with its own event queue. This means that a new connection won't overwrite a previous one

@JamesDoingStuff JamesDoingStuff force-pushed the jg/waffle-test-posixuid branch from ce30ebf to ec4b303 Compare June 11, 2026 15:05
self.connection: stomp.Connection
self.queue = queue.SimpleQueue()

def create_connection(self, request: generic_pb2.EventSource):

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

suggest to type hint return types.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a reason why the ClusterWorkflowTemplate is in the templates in events and not in examples? Is this tracked by groups or is it intentionally ignored?

workflows.diamond.ac.uk/source: generic
workflows.diamond.ac.uk/beamline: b01-1
spec:
enabled: true

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

would it be worth helm templating the different trigger.enabled values?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants