Uploaded image for project: 'Hybrid Cloud Console'
  1. Hybrid Cloud Console
  2. RHCLOUD-23886

[Spike] Reduce notification overload during seed process when new roles are added

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False
    • None
    • Unset
    • No

      System roles could be added with https://github.com/RedHatInsights/rbac-config to stage/production where teams adds their roles.

      During seed process when new system's roles are being added - kafka message is produced for each tenant(orgs). Currently there is more than 100k orgs - it means that same count of kafka messages is being produced which leads to performance implications.

       

      We need reduce count of produced message at one time during seed process.

       

      Solutions:

      1.

      One solution could be to divide produced messages to batches.

      It introduces delay when notification would be delivered - we need to find whether this is acceptable.  rhn-support-rabbott ?

       

      2. 

      Is it possible to filter orgs who has subscripted notification for such event type by some notification API ? Probably it needs to confirm how many tenants(orgs) has subscripted this option now. (event_types =
      rh-new-role-available, rh-platform-default-role-updated, rh-non-platform-default-role-updated) glepage@redhat.com 
       

       

       

              Unassigned Unassigned
              lpichler@redhat.com Libor Pichler
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: