Uploaded image for project: 'Kogito'
  1. Kogito
  2. KOGITO-8676

Allow per channel configuration of overflow strategy

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Done
    • Major
    • 1.36.0.Final
    • 1.33.0.Final
    • Core Engine
    • None
    • 2023 Week 09-11 (from Feb 27)

    Description

      Smallrye, through the usage of OnOverflow annotation, allows configure the backpressure strategy of every Emitter. See this post for more info on that topic .
      Right now, the only configurable setting is the default buffer size (default strategy is buffer) for all channels, though the usage of property

       mp.messaging.emitter.default-buffer-size 

      It would be nice to have the possibility to change the default strategy and buffer size per each channel. The proposal is to add properties of the following form to Kogito:

      kogito.addon.messaging.emitter.<channel_name>.overflow-strategy=BUFFER|NONE|UNBOUNDED|FAIL|DROP
      kogito.addon.messaging.emitter.<channel_name>.buffer-size=size of the buffer
      

      We should allow changing the strategy globally for all channels, with a property

      kogito.addon.messaging.emitter.overflow-strategy=BUFFER|NORE|UNBOUNDED|FAIL|DROP
      

      Attachments

        Issue Links

          Activity

            People

              ftirados Francisco Javier Tirado Sarti
              ftirados Francisco Javier Tirado Sarti
              Marian Macik Marian Macik
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: