
You might want to spice it up using embedded JMS for further goodies (message persistence etc). I could imaginge there is some throttling adding up or other effect in the RateLimiter, i would try to play around with it and make sure this thing really works the way you want.Īlternatively, consider using Spring to read from your queue. To use this Discord IP finder, you need to get the user ID on Discord first. I.e., if an expensive task arrives at an idle RateLimiter, it will be granted immediately, but it is the next request that will experience extra throttling, thus paying for the cost of the expensive task." Instead of creating your own Discord IP grabber, you can use Grabify to. but it affects the throttling of the next request. "It is important to note that the number of permits requested never affects the throttling of the request itself.

Maybe it does not work as expected, depending on the number of requests your application does over time. Fetch an IP AddressWhen you have a Discord User ID, paste it into the corresponding field on Discord Resolver website. I would propose to take a look in the RateLimiter direction.
