UDP多播的配置Aeron通道如何接收消息?
我正在尝试在同一多播/端口上运行基本的发布者/订户对。 我想知道UDP多播的配置频道如何,特殊“接口”参数,所有SUBS都可以从酒吧接收消息?
我有三个火柴线,我想通过UDP多播类型测试Aeron, 一个本地网络(LAN),
Pub Matchinea IP 192.168.31.100,
Sub1 MatchineB IP 192.168.31.120,
Sub2 Matchinec IP 192.168.31.121,
我的测试案例是:
pub:pub:final string Channel =“ udp?eneron:udp?entpoint?entpoint?entpoint?entpoint? .31.120:40456 |接口= 192.168.31.0/24 | ttl = 16“;
sub1:最终字符串通道=“ aeron:udp?endpoint = 192.168.31.120:40456 |接口= 192.168.31.0/24 | ttl = 16”;
sub2:最终字符串通道=“ aeron:udp?endpoint = 192.168.31.121:40456 |接口= 192.168.31.0/24 | ttl = 16”;
但是只有SUB1才能接收所有消息,SUB2无法接收任何消息。 我猜“接口”参数配置可能不正确。
我想知道Config Channel UDP多播如何收到所有消息? 谢谢你!
I am trying to run a Basic Publisher/Subscriber pair on the same Multicast/Port.
I want to know how config channel for udp multicast, special the "interface" paramter, all subs can receive messages from pub?
I have three matchines, I want to test aeron by udp multicast type,
three matchines in one local network(lan),
pub matchineA ip 192.168.31.100,
sub1 matchineB ip 192.168.31.120,
sub2 matchineC ip 192.168.31.121,
my test case is:
pub: final String channel = "aeron:udp?endpoint=192.168.31.120:40456|interface=192.168.31.0/24|ttl=16";
sub1: final String channel = "aeron:udp?endpoint=192.168.31.120:40456|interface=192.168.31.0/24|ttl=16";
sub2: final String channel = "aeron:udp?endpoint=192.168.31.121:40456|interface=192.168.31.0/24|ttl=16";
but only sub1 can receive all messages, sub2 can not receive any messages.
I guess the "interface" paramter config may be not right.
I want to know how config channel udp multicast all subs can receive all messages?
thank you!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
端点配置UDP多播IP 224.0.1.1 IS Test Pass。pub
:最终字符串通道=“ Aeron:udp?endpoint = 224.0.1.1.1:40456 |接口= 192.168.31.100 | ttl = 16”;
sub1:最终字符串通道=“ aeron:udp?endpoint = 224.0.1.1:40456 |接口= 192.168.31.120 | ttl = 16”;
sub2:最终字符串通道=“ aeron:udp?endpoint = 224.0.1.1:40456 |接口= 192.168.31.121 | ttl = 16”;
endpoint config udp multicast ip 224.0.1.1 is test pass。
pub: final String channel = "aeron:udp?endpoint=224.0.1.1:40456|interface=192.168.31.100|ttl=16";
sub1: final String channel = "aeron:udp?endpoint=224.0.1.1:40456|interface=192.168.31.120|ttl=16";
sub2: final String channel = "aeron:udp?endpoint=224.0.1.1:40456|interface=192.168.31.121|ttl=16";