Clarifying comment - Logs from CW Logs are gzipped.

This commit is contained in:
Taylor Sutton 2020-11-11 12:39:51 -05:00
parent 6b2d1f8a56
commit 4fe27d0d39

View file

@ -62,7 +62,7 @@ func (b *batchedWriter) Initialize(shardID string, checkpointer kcl.Checkpointer
func (b *batchedWriter) splitMessageIfNecessary(record []byte) ([][]byte, error) {
// We handle three types of records:
// - records emitted from CWLogs Subscription
// - records emitted from CWLogs Subscription (which are gzip compressed)
// - uncompressed records emitted from KPL
// - zlib compressed records (e.g. as compressed and emitted by Kinesis plugin for Fluent Bit)
if splitter.IsGzipped(record) {