Uploaded image for project: 'OpenNMS'
  1. OpenNMS
  2. NMS-10942

Sink API: Queue messages outside of the heap

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 23.0.0
    • Component/s: None
    • Security Level: Default (Default Security Scheme)
    • Labels:
      None
    • Sprint:
      Horizon - August 8th 2018, Horizon - August 15th 2018, Horizon - August 22nd 2018, Horizon - August 29th 2018, Horizon - September 05 2018, Horizon - September 12 2018, Horizon - September 26 2018, Horizon - October 3rd 2018

      Description

      In the current Sink API implementation, messages that are dispatched asynchronously are queued in memory until they are successfully sent.

      The queue in which these are stored is of a fixed size. The size is configurable, but this it is difficult to tune properly since users also need to take the additional heap size in account.

      In order to better withstand prolonged outages, or loss of communication with the broker, we would like to store the messages outside of the heap, up to some configurable size limit, once the queue is full.

      Acceptance criteria:

      • The maximum size of the off heap storage must be configurable
      • Messages must continue to be dispatched in the same order as which they were received

        Attachments

          Activity

            People

            • Assignee:
              cgorantla Chandra Gorantla
              Reporter:
              j-white Jesse White
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: