logstash-plugins / logstash-output-elastic_app_search

Apache License 2.0
0 stars 9 forks source link

Add support for honoring rate limit headers in response #5

Open peterskim12 opened 5 years ago

peterskim12 commented 5 years ago

The App Search service recently added these headers to indexing responses: X-RateLimit-Limit and X-RateLimit-Remaining. Seems like it'd be good for the App Search output plugin to use these headers to ensure requests are appropriately throttled.

A blocker might be that the App Search clients may not expose these headers, so until that's done, I'm assuming it won't be possible for this output plugin to access them.