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

Multiple clusters under one send_to does not work? #202

Closed
didip opened this issue Jul 11, 2016 · 3 comments
Closed

Multiple clusters under one send_to does not work? #202

didip opened this issue Jul 11, 2016 · 3 comments

Comments

@didip
Copy link

didip commented Jul 11, 2016

Hi all, I am trying to forward the same thing to 2 different clusters. Example:

match ^awesome\.(.+)
    send to
        my_cluster
        my_homie_cluster
    stop
    ;

I expect that to work, but I got this in my log file:

[2016-07-11 23:08:59] expected 'stop' and/or ';' after 'my_cluster' for match ^awesome\.(.+)
[2016-07-11 23:08:59] failed to read configuration '/path/to/relay.conf'

Should I do this instead?

match ^awesome\.(.+) send to my_cluster;
match ^awesome\.(.+) send to my_homie_cluster stop;
@grobian
Copy link
Owner

grobian commented Jul 12, 2016

hmmm, that should have worked, what version are you using?

grobian added a commit that referenced this issue Jul 12, 2016
@grobian
Copy link
Owner

grobian commented Jul 12, 2016

it works fine for me here, I suspect you use a version of the relay which doesn't have this feature yet (and I failed to document it in the changelog it seems).

@didip
Copy link
Author

didip commented Jul 12, 2016

Thanks for the help once again, I will get the latest version then.

@didip didip closed this as completed Jul 12, 2016
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