Skip to main content
Version: 2.2.0

Sampling And Sending Modes

The message group in northbound uses sampling and sending modes to compose the message sending behavior that the user wants

mg-overview

Sampling: A message group will be executed according to the following modes when customSamplingRate is false.

  • customSamplingRate: following options can be customizeied after enable this option.
    • pollingInterval

      zero means subscribe mode(sampling data when source published).
      greater than zero means sampling data latest values by interval.

    • onChange
  • sampling mode
    • allValues

      buffer all data that source published.

    • latestValues

      Sampling time is automatically set to be the same as the sendOutThreshold.time.

    • allChangedValues

      buffer all data that source published and different with latest.

    • latestChangedValues

      Sampling time is automatically set to be the same as the sendOutThreshold.time.
      Buffing data that is different with latest.

Sending : A message group will send messages according to the following modes.

  • byTime
  • bySize
  • immediately

Last updated on 2022-05-31 by Aeluin Chen (陳映攸)