Uploaded image for project: 'Medici'
  1. Medici
  2. MMDB-1608

Support keys of JSON returned by RabbitMQ management plugin for different versions of RabbitMQ/AMQP

XMLWordPrintableJSON

      While deploying the latest features in develop on the test server at
      https://medici-dev.cyi.ac.cy:9001
      i came upon this bug. The version of RabbitMQ on my test server was 3.0.4 and in the JSON returned by the management plugin, there was no "queue" under "consumer_details" but instead the field was named "queue_details".

      I deployed a temporary fix (in the extractions-monitoring-fixes branch), however that is a fix for only the above particular field. What if new versions of RabbitMQ that have to communicate with Medici again change the key used for this or other fields?

      Maybe we can do a similarity search, eg for the above field search for any fields whose keys start with "queue" and in general look for properties of keys of fields that are very unlikely to change? This will be slower, but since the volume of data here is very small this is not an issue.

              Unassigned Unassigned
              csophocleous Constantinos Sophocleous
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: