Clarifying comment - Logs from CW Logs are gzipped.
This commit is contained in:
parent
6b2d1f8a56
commit
4fe27d0d39
1 changed files with 1 additions and 1 deletions
|
|
@ -62,7 +62,7 @@ func (b *batchedWriter) Initialize(shardID string, checkpointer kcl.Checkpointer
|
||||||
|
|
||||||
func (b *batchedWriter) splitMessageIfNecessary(record []byte) ([][]byte, error) {
|
func (b *batchedWriter) splitMessageIfNecessary(record []byte) ([][]byte, error) {
|
||||||
// We handle three types of records:
|
// 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
|
// - uncompressed records emitted from KPL
|
||||||
// - zlib compressed records (e.g. as compressed and emitted by Kinesis plugin for Fluent Bit)
|
// - zlib compressed records (e.g. as compressed and emitted by Kinesis plugin for Fluent Bit)
|
||||||
if splitter.IsGzipped(record) {
|
if splitter.IsGzipped(record) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue