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

[receiver/solace]: Update broker config #36387

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

wildum
Copy link
Contributor

@wildum wildum commented Nov 15, 2024

Description

The broker field is a list of strings but only the first element is considered. This is misleading because users might think that the component supports connecting to several brokers.

If the idea is to support connecting to several brokers in the future, I think that the structure of the config would need to change anyway because we should allow the possibility to configure a queue and credentials for each broker independently.

This is a breaking change.

Testing

The tests were updated.

Documentation

The examples in the doc were updated.

@atoulme
Copy link
Contributor

atoulme commented Nov 16, 2024

Could you find a way to avoid a breaking change here? Maybe set the broker field to any and introspect if it's a slice, in which case you'd raise a warning to move it to string.

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

Successfully merging this pull request may close these issues.

2 participants