Latency for <stream> ( <latency> sec.) is high
The latency (in second) for the specified log stream rose above the high threshold. The latency is calculated based on the storeclock of the most recent record in the stream and the oldest one that cannot be deleted. This can rise due to the downstream consumer not consuming fast enough compared to the rate of capture, or it can be because of poor transaction pattern, since the latency is at least equal to the longest running transaction being captured.