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

Add external configuration for service/mq exchange connection graph #95

Open
dajtxx opened this issue Jul 28, 2024 · 0 comments
Open

Add external configuration for service/mq exchange connection graph #95

dajtxx opened this issue Jul 28, 2024 · 0 comments

Comments

@dajtxx
Copy link
Collaborator

dajtxx commented Jul 28, 2024

Services each contain code to decide which mq exchange to write to or read from.

This is obv inflexible, particularly if it is desirable to add a new service in the message flow between two others.

For example, a message dedup service would read from what is currently known as the physical_timeseries exchange and write to a new exchange that the logical mapper would read from. This is not possible at present without changing the logical mapper source code.

A configuration file that specifies the exchange a service should read from or write to would allow these sorts of changes without modifying source code.

This means services must know their own name so that can look up the configuration information.

It would be best to have base classes for all types of services so coding a new service would not need to copy this code and name handling and configuration lookup/application were always handled consistently.

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

No branches or pull requests

1 participant