🎄 Happy Holidays! 🥳

Most of Solace is closed December 24–January 1 so our employees can spend time with their families. We will re-open Thursday, January 2, 2024. Please expect slower response times during this period and open a support ticket for anything needing immediate assistance.

Happy Holidays!

Please note: most of Solace is closed December 25–January 2, and will re-open Tuesday, January 3, 2023.

When I initiate a replay on my queue, why do I only see 1000 messages get replayed?

hong
hong Guest Posts: 480 ✭✭✭✭✭
edited February 2022 in Tips and Tricks #1

When you initiate a replay on your queue, you may notice that only 1000 messages get replayed. You know that you have way more than 1000 messages matching your queue subscription that you should see. This is actually expected if you have no clients bound to the queue at the time of the replay. When clients bind, and as these messages are consumed, more messages will be replayed as replay resumes.

Tagged:

Comments

  • RunningRoach
    RunningRoach Member Posts: 7

    I think this might answer your question:

    Limits on number of messages sent in a replay request

    • If a replay is initiated to an endpoint that has no clients connected, only 1000 messages are replayed. This ensures that the unacked resources of the endpoint are not completely consumed.
    • If there are connected clients, the number of messages replayed is limited only by the max-delivered-unacked-msgs-per-flow setting on the endpoint (up to 100,000 messages).

    https://docs.solace.com/Features/Replay/Message-Replay-Overview.htm