-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Support multicast for UDP #5732
Comments
Thanks, @dalesample, you're welcome to give it a try. Given the holidays, we probably won't get to this until after the new year. |
Hey, I saw this issue wasn't really resolved. We would love to use vector for our systems, but we must have a multicast input 🥹 Do you think it's likely someone will work on the feature any time soon? |
Hi @nomalord I think I can give it a try. Multicast udp in socket sink is already supported, right? You just need to specify the multicast address and the udp sink will send to that address and it will reach all hosts of the multicast group (I think that is how IP multicast works) This issue is to allow udp socket sources to join a multicast group (https://doc.rust-lang.org/std/net/struct.UdpSocket.html#method.join_multicast_v4) previous to the packet recv loop, right? Can you confirm you need the source? |
I think the tags of this issue should be updated It should be CC @jszwedko ? |
Yes, just as you said I need a multicast source 🙏 |
Agreed, thanks! Updated. And thanks for the PR implementing this! |
Current Vector Version
Use-cases
We would like to have a multicast sink to receive multicast data and provide that data to our kafka sink.
We cannot use vector in our product if multicast is not supported.
Attempted Solutions
I looked at all the documentation, attempted to just place a multicast address in a udp config, and looked at the code. I do not believe that multicast is supported.
Here is an example config I attempted to use:
[sources.in]
address = "238.0.0.200:50006"
mode = "udp" # required
type = "socket" # required
Proposal
Support multicast.
I'm willing to work this, but I don't know rust, and my code would likely be bad.
References
The text was updated successfully, but these errors were encountered: