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

Kafka Producer: Sync pushes all alarms when suppressIncrementalAlarms=false

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 23.0.0
    • Fix Version/s: 23.0.1
    • Component/s: None
    • Security Level: Default (Default Security Scheme)
    • Labels:
      None
    • Sprint:
      Horizon - October 24th 2018

      Description

      After HZN-1381, when suppressIncrementalAlarms=false, all of the alarms get pushed to the topic on every synchronization. The desired behavior would be to only push those that need updating.

      The problem appears to stem from this line https://github.com/OpenNMS/opennms/blob/opennms-23.0.0-1/features/kafka/producer/src/main/java/org/opennms/features/kafka/producer/datasync/KafkaAlarmDataSync.java#L234 where we compare the builders instead of the resulting objects.

        Attachments

          Activity

            People

            Assignee:
            mbrooks Matthew Brooks (Inactive)
            Reporter:
            j-white Jesse White
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Git Integration