Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

...

When a topic reaches a set threshold for message count, size or age the attached consumer session we have three options.

  • Flow the producer.
  • Disconnect the slow consumer.

Work has already been done to flow producers on queues: Producer flow control.

...

Code Block
xml
xml
titleConsumer Element for configuration
        <consumer>
            <!-- The depth before which the policy will be applied-->
            <depth>4235264</depth>

            <!-- The message age before which the policy will be applied-->
            <maessageAge>600000<<messageAge>600000</messageAge>

            <!-- The number of message before which the policy will be applied-->
            <messageCount>50</messageCount>

            <!-- Policies configuration -->
            <policy name="Delete">
                <options>
                    <option name="delete-persistent" value="true"/>
                </options>
            </policy>
        </consumer>

...