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

Importer stream continue on failure consumer policy might not work

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Importer

      Description

      While migrating to failsafe 2.x we have seen that the consumer policy is not applied if we want to continue on failure.

      The code below is not invoked, in case of failure the consumer is always stopped

      https://github.com/nuxeo/nuxeo-lts/blob/2021/modules/platform/nuxeo-platform-importer/nuxeo-importer-stream/src/main/java/org/nuxeo/lib/stream/pattern/consumer/internals/ConsumerRunner.java#L207C1-L214C14

      Also, not that the new failsafe version behave also differently the execution.getLastFailure() is persistent even if the last execution is successful.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              bdelbosc Benoit Delbosc
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: