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

Using environment variables #4

Open
antje-s opened this issue Nov 7, 2022 · 2 comments
Open

Using environment variables #4

antje-s opened this issue Nov 7, 2022 · 2 comments

Comments

@antje-s
Copy link
Collaborator

antje-s commented Nov 7, 2022

When we refer to environment variables in yaml. It should be pointed out that different values may be required for the same ENV variable, e.g. broker address (Global Broker, Global Broker Backup)

@maaikelimper
Copy link
Collaborator

We could either define 2 variables 'broker' and 'broker_backup' or we could use an array to define a set of brokers

broker:
  - 'mqtts://user1:pwd1@host1'
  - 'mqtts://user2:pwd2@host2'

@antje-s
Copy link
Collaborator Author

antje-s commented Nov 11, 2022

This is of course possible and then run a subscription for each broker address. Important is a common target directory and a check if the data has already been downloaded to avoid duplicate downloads.

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

2 participants