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

Provides an Audit writer impl with Computation

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 9.3
    • Component/s: Streams
    • Release Notes Description:
      Hide

      A new audit synchronous listener and writer based on Nuxeo Stream is activated by default. This provides a more reliable and performant solution than the previous audit bulk writer.
      The old implementation can still be used with the following option: nuxeo.stream.audit.enabled = false.

      Show
      A new audit synchronous listener and writer based on Nuxeo Stream is activated by default. This provides a more reliable and performant solution than the previous audit bulk writer. The old implementation can still be used with the following option: nuxeo.stream.audit.enabled = false .
    • Sprint:
      nxcore 9.3.6, nxcore 9.3.7
    • Story Points:
      3

      Description

      Goal: provide a fail safe audit service.

      Instead of queuing in memory the audit entry put them into a dedicated audit stream. A simple computation will take care of the batching every n entries or t time.

      The impl is a sync listener collecting logEntries and that is enlisted to the transaction (NXP-19472), the logEntries is written to a Log.
      A computation stream is contributed to consume the log and apply a batching policy to submit them to the audit backend.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 2 days
                  2d