Relay Product Listener

« Back to receiving

The relay product listener provides a method for relaying products to subsequent (typically remote) receivers for additional distribution. This listener relies on configuring a sender to use for the relay. In addition to the standard listener properties, this type of listener accepts the following specific properties:

senderType
The type of sender to use during relay
Optional, available value: aws
If not specified, a SocketProductSender

Example configuration

Note: Dependent configuration sub-sections not shown in this configuration example.

1
2
3
4
5
6
7
listeners = relay_listener

[relay_listener]
type = gov.usgs.earthquake.distribution.RelayProductListener
listenerIndex = relay_listener_index
senderType = aws
url = https://earthquake.usgs.gov/pdl/east/

Note: The relay listener must also include configuration required by its configured sender type. In the example above, a url is configured because that is required by the AwsProductSender.



Last modified: Fri Jul 26 00:43:09 UTC 2024