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

Allow queue to be switched based on tag/data #53

Open
colinnewell opened this issue Aug 20, 2019 · 0 comments
Open

Allow queue to be switched based on tag/data #53

colinnewell opened this issue Aug 20, 2019 · 0 comments

Comments

@colinnewell
Copy link

I had hoped to switch queue based on tag like this,

 queue_name "#{ENV['BASE_SQS_URL']}${tag[1]}"

The ENV var got correctly interpolated, but the tag wasn't. This might be down to me not understanding the fluentd config format correctly, but I suspect the code simply doesn't support this type of data currently.

If I'm reading the code right, I suspect it would need something like a call to extract_placeholders in order to deal with tags in the data, with possibly some slightly more structural changes to the module.

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