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

Kafka Producer: Sync pushes all alarms when suppressIncrementalAlarms=false

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved (View Workflow)
    • Major
    • Resolution: Fixed
    • 23.0.0
    • 23.0.1
    • None
    • Security Level: Default (Default Security Scheme)
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: