Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-29386

PubSub usage must be monitored

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 10.10
    • Fix Version/s: 2023.0, 2021.35
    • Component/s: PubSub, Streams
    • Release Notes Summary:
      There is new metric to monitor PubSub usage.
    • Tags:
    • Upgrade notes:
      Hide

      There is now a metric to count the number of messages published using the PubSub service.

      Show
      There is now a metric to count the number of messages published using the PubSub service.
    • Team:
      PLATFORM
    • Sprint:
      nxplatform #82, nxplatform #83
    • Story Points:
      3

      Description

      The PubSub usage with Nuxeo Stream implementation is not monitored.

      The implementation is using low-level producer-consumer API where the consumer doesn't commit its position because it doesn't need to keep up with the old messages.

      Kafka is not able to list consumers that don't commit their position, as a result, the pubsub consumers are not visible by the monitoring.

      Still, invalidations (repository, directory caches) are using pubsub and can create lots of activities that need to be reported.

      A simple pubsub counter on pub should be enough to have an idea.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: