Skip to content

Commit

Permalink
Merge pull request #4 from northvolt/bondeson/flush
Browse files Browse the repository at this point in the history
Removed logging after flushing records
  • Loading branch information
bondeson authored May 19, 2021
2 parents ede83df + a65f54c commit 4886478
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion producer.go
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ func (p *Producer) flush(records []*kinesis.PutRecordsRequestEntry, reason strin
defer p.semaphore.release()

for {
p.Logger.Info("flushing records", LogValue{"reason", reason}, LogValue{"records", len(records)})
//p.Logger.Info("flushing records", LogValue{"reason", reason}, LogValue{"records", len(records)})
out, err := p.Client.PutRecords(&kinesis.PutRecordsInput{
StreamName: &p.StreamName,
Records: records,
Expand Down

0 comments on commit 4886478

Please sign in to comment.