Open diranged opened 8 years ago
Yeah I agree that the messages could sometimes get crazy and annoying... I think it's a good idea to get the message published every 30 seconds. I've noted it down. Thanks!
I've pushed a commit that moves the per-record message to TRACE level. I think this can reduce the pain for now.
Thanks for that -- though it just hides it for now. I look forward to this being a "stat" message thats printed on-demand rather than once-per-event!
Yep I'll do that change later :)
See: https://github.com/awslabs/amazon-kinesis-agent/blob/6a88340b2ef4413538085738b3fa4ce0432bf394/src/com/amazon/kinesis/streaming/agent/tailing/KinesisSender.java#L121-L128
So ... when we're gleefully sending off logs to Kinesis and we suddenly bump into a temporary throttle, we are given tens of thousands of these log messages in just a matter of seconds:
I really feel like this code could be improved to write out a message like:
Otherwise this message is really spammy and has minimal usefulness. I'd like to see it reported once-per-patch, not once-per-message.