Multiple Endpoint Guide Document

Overview

The Multiple Endpoint feature enables us to send the event data, which is collected via various automatic and manual trigger event methods to multiple infinity endpoints. The objective, in this case, is to process the payload to each endpoint one after the other. The different collection endpoints can be passed as an array as explained below.

Creating an endpoint array

Since we use oracle.json file to set the different configurations, we can update the respective endpoint key, ora_dc_end_point_config which accepts array of different endpoints. Each element of this array is a collection of URL, GUID & Retry Count attributes. Below are the key names in detail:

ora_dc_collection_url - An infinity data collection base URL.
ora_dc_account_guid - An account GUID identifies your account. All your tags will use the same account GUID so that all data collected for your account is stored together.
ora_dc_retry_count - Retry count in case of network or server failures. The minimum allowed value is 1, maximum is 15 and default value is 3.

With the above attributes, the endpoint array with two different endpoints will look like:

"ora_dc_end_point_config": 
[
    {
        "ora_dc_collection_url": "your_infy_url_1",
        "ora_dc_account_guid": "your_account_guid_1",
        "ora_dc_retry_count": "2"
    },
    {
        "ora_dc_collection_url": "your_infy_url_2",
        "ora_dc_account_guid": "your_account_guid_2",
        "ora_dc_retry_count": "2"
    }
],

With the above configuration, the final oracle.json will look like:

{
    "ORACORE": {
        "ora_dc_end_point_config": [
            {
                "ora_dc_collection_url": "your_infy_url_1",
                "ora_dc_account_guid": "your_account_guid_1",
                "ora_dc_retry_count": "2"
            },
            {
                "ora_dc_collection_url": "your_infy_url_2",
                "ora_dc_account_guid": "your_account_guid_2",
                "ora_dc_retry_count": "2"
            }
        ],
        "ora_dc_send_interval_millis": "3000",
        "ora_dc_enabled": "true",
        "ora_dc_mask_ip_enabled": "true",
        "ora_dc_event_send_maximum": "25",
        "ora_dc_app_start_auto_enabled": "true"
    }
}