Uploaded image for project: 'JBoss Transaction Manager'
  1. JBoss Transaction Manager
  2. JBTM-3753

Make the concurrency of the LRA coordinator start method configurable

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Done
    • Major
    • 6.0.1.Final
    • 6.0.0.CR1
    • LRA
    • None

    Description

      The LRA coordinator uses the Bulkhead pattern (where we specify the maximum number of concurrent calls to an instance) [1] to throttle LRA create requests.  The default values for the annotation are

      @Bulkhead(value = 10, waitingTaskQueue = 10)

      These defaults should be configurable (using microprofile config is an option). 

      We also need add the test that Marco created for it to the narayana test suite.

      [1] https://github.com/jbosstm/narayana/blob/main/rts/lra/coordinator/src/main/java/io/narayana/lra/coordinator/api/Coordinator.java#L252

      Attachments

        Activity

          People

            rh-ee-msappegr Marco Sappe Griot
            rhn-engineering-mmusgrov Michael Musgrove
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: