No images becomes available for spy subscription when MDC publication with dynamic control mode was created with control endpoint port set to 0
in order for OS to choose the port (ssc=true
was set).
Steps to reproduce:
- Create publication
aeron:udp?control=localhost:0|control-mode=dynamic|ssc=true
withstreamId=0
- Retrieve publication
localAddr
vialocalSocketAddresses
method - Create subscription
aeron-spy:aeron:udp?control=<localAddr>|control-mode=dynamic
withstreamId=0
Image is expected to become available for subscription, but it does not happen.
The exact same code works if either port is set to static value instead of 0
or prefix aeron-spy:
is removed from the subscription.