# Risk Management Feed Settings Source: https://documentation-external.onezero.com:4434/Hub_help_9_0/Content/HubReferences/Settings/HubAppSettings/Hub_App_RiskMngmtFeedSettings.htm Risk Management Feed Settings Use the Risk Management Feed Settings to send raw trading information to an outside server for aggregation or other data processing. These settings configure the connection to your outside server's Rabbit MQ service, which is the middleware used to capture outgoing messages from the Hub. See Rabbit MQ documentation for more details. Setting Description Setting Description Enabled If enabled, enables the Risk Management Feed. Enabled If enabled, enables the Risk Management Feed. Version Select version, when applicable. Version Select version, when applicable. Auto Upgrade to Latest Version If enabled, the Risk Management Feed auto-updates to the latest version. Auto Upgrade to Latest Version If enabled, the Risk Management Feed auto-updates to the latest version. Broker ID Identifier for the broker. If left blank, defaults to (). Enter an alternative Broker identifier if needed. Broker ID Identifier for the broker. If left blank, defaults to (). Enter an alternative Broker identifier if needed. Indicate which fields you want to include in the header of each outgoing message. This allows for easier message filtering later on. Examples: is_warehoused, maker_name, execution_profile_name Setting Description Setting Description Associated Header Fields Click Add Row to include another Header Field. Associated Header Fields Click Add Row to include another Header Field. Configure these settings to match those on Rabbit MQ, in order to successfully export raw trade data using this method. Connection Settings Setting Description Setting Description Hostname Hostname for the Rabbit MQ consumer. Hostname Hostname for the Rabbit MQ consumer. Port Enter a port to which messages will be sent. Example: 5432 Port Enter a port to which messages will be sent. Example: 5432 Channel The channel through which the Rabbit MQ connection will receive trade messages. Defaults to 1. Channel The channel through which the Rabbit MQ connection will receive trade messages. Defaults to 1. Username Username for the Rabbit MQ Connection. Username Username for the Rabbit MQ Connection. Password Password for the Rabbit MQ Connection. Password Password for the Rabbit MQ Connection. Heartbeat Seconds Interval between sending heartbeats to test connection status. Heartbeat Seconds Interval between sending heartbeats to test connection status. Routing Settings Setting Description Setting Description AMQP Advanced Message Queue Protocol Exchange Name Alphanumeric name of the RabbitMQ exchange. AMQP Advanced Message Queue Protocol Exchange Name Alphanumeric name of the RabbitMQ exchange. Routing Key The routing key for the exchange. Note: The Routing Key is ignored for fanout-type AMQP exchanges. Routing Key The routing key for the exchange. Note: The Routing Key is ignored for fanout-type AMQP exchanges. AMQP Exchange Type Choose how the exchange is determined and named, and how messages are routed through it. If set to Use Built-In, AMQP Exchange Name is expected to be the name of an already-existing exchange declared on the RabbitMQ server. For example, one of the default exchanges like amq.direct or amq.fanout. If set to any other option, a new named exchange is declared in AMQP Exchange Name, and this type specifies how messages are routed through the exchange. AMQP Exchange Type Choose how the exchange is determined and named, and how messages are routed through it. If set to Use Built-In, AMQP Exchange Name is expected to be the name of an already-existing exchange declared on the RabbitMQ server. For example, one of the default exchanges like amq.direct or amq.fanout. If set to any other option, a new named exchange is declared in AMQP Exchange Name, and this type specifies how messages are routed through the exchange. Passive RabbitMQ responds successfully if the request exchange matches these fields, or raise a channel exception if not. If enabled and the exchange does not already exist, RabbitMQ raises a channel exception. If disabled and the exchange exists, RabbitMQ checks that the existing exchange contains the same values as those entered in the AMQP Exchange Type and Durable fields. Passive RabbitMQ responds successfully if the request exchange matches these fields, or raise a channel exception if not. If enabled and the exchange does not already exist, RabbitMQ raises a channel exception. If disabled and the exchange exists, RabbitMQ checks that the existing exchange contains the same values as those entered in the AMQP Exchange Type and Durable fields. Durable Select this option when creating a new exchange so that RabbitMQ can verify that the existing exchange has this value set. Durable exchanges remain active when RabbitMQ restarts. Non-durable exchanges (transient exchanges) are purged if / when RabbitMQ restarts. Durable Select this option when creating a new exchange so that RabbitMQ can verify that the existing exchange has this value set. Durable exchanges remain active when RabbitMQ restarts. Non-durable exchanges (transient exchanges) are purged if / when RabbitMQ restarts. Auto Delete If enabled, RabbitMQ deletes the exchange when all queues have finished using it. If disabled, RabbitMQ does not delete the exchange. Auto Delete If enabled, RabbitMQ deletes the exchange when all queues have finished using it. If disabled, RabbitMQ does not delete the exchange. Publish Settings Setting Description Setting Description Delivery Mode Determines whether RabbitMQ writes the message from the exchange to disk. Non-Persistent: RabbitMQ does not write the message disk, and when it restarts, clears messaging. Persistent: If messaging is also published to a durable exchange and queue, then RabbitMQ writes the message to disk. When RabbitMQ restarts, messaging is not cleared. This option increases disk I/O and storage overhead. Delivery Mode Determines whether RabbitMQ writes the message from the exchange to disk. Non-Persistent: RabbitMQ does not write the message disk, and when it restarts, clears messaging. Persistent: If messaging is also published to a durable exchange and queue, then RabbitMQ writes the message to disk. When RabbitMQ restarts, messaging is not cleared. This option increases disk I/O and storage overhead. Reconnect Buffer Settings When reconnecting to the message queue, incoming messages are kept in a temporary buffer until: Connection opens, causing the buffered messages to be sent from newest to oldest. Connection closes, and the buffered messages are discarded. Message is removed from the buffer as a result from these sub-settings. The following settings determine the limits of the buffer and the circumstances under which a message should be removed in outcome C: Setting Description Setting Description Message Timeout Determines how long a message is kept in the reconnect buffer until it expires, in HHHH:MM:SS.UUUUUU. When set to 0, the reconnect buffer is disabled. Message Timeout Determines how long a message is kept in the reconnect buffer until it expires, in HHHH:MM:SS.UUUUUU. When set to 0, the reconnect buffer is disabled. Memory Limit in MB How large the reconnect buffer is allowed to become before the oldest message are removed. When set to 0, the reconnect buffer is disabled. Memory Limit in MB How large the reconnect buffer is allowed to become before the oldest message are removed. When set to 0, the reconnect buffer is disabled. Miscellaneous Settings Setting Description Setting Description Log Message Details If enabled, every message published to the message queue will be logged. If disabled, these messages will not be logged. Log Message Details If enabled, every message published to the message queue will be logged. If disabled, these messages will not be logged.