-

Comments

1 comment

  • Official comment
    Lee

    Please see the section for enabling throttling in the manual at the following link.

    Client Throttling Documentation

    For example, for a client you can enable throttling with:

    client.throttle(ClientThrottlerType, argument)
    

    There are a few different ClientThrottlerTypes as described in the manual at the above link.

    Therefore to throttle a client to a maximum of 200 messages per second, you could use the following code:

    client.throttle(ClientThrottlerType.MESSAGES_PER_SECOND, 200);
    
    Comment actions Permalink

Please sign in to leave a comment.