fluent-plugins-nursery / fluent-plugin-cloudwatch-logs

CloudWatch Logs Plugin for Fluentd
MIT License
201 stars 141 forks source link

Cloudwatch rate limit retry (describe_log_streams) #190

Closed brunozrk closed 4 years ago

brunozrk commented 4 years ago

Adding retry on describe_log_streams for AWS rate limit exception just like https://github.com/fluent-plugins-nursery/fluent-plugin-cloudwatch-logs/pull/184

Both get_events and describe_log_streams call throttling_handler. It then handles the ThrottlingException depending the throttling_retry_seconds param.

cosmo0920 commented 4 years ago

Thanks!