Skip to content

Commit

Permalink
Less logs
Browse files Browse the repository at this point in the history
  • Loading branch information
nobl9-adam-szymanski committed Aug 4, 2023
1 parent 64f6515 commit c8c742d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
Binary file modified .DS_Store
Binary file not shown.
16 changes: 9 additions & 7 deletions partition_table.go
Original file line number Diff line number Diff line change
Expand Up @@ -598,13 +598,15 @@ func (p *PartitionTable) updateHwmStats() {
}

func (p *PartitionTable) storeEvent(key string, value []byte, offset int64, headers []*sarama.RecordHeader) error {
p.log.Debugf(
"store event = topic=%s, partition=%v, key=%s, offset=%v",
p.topic,
p.partition,
key,
offset,
)
if p.topic == "anomalydetector-nodata-rules-table" {
p.log.Debugf(
"store event = topic=%s, partition=%v, key=%s, offset=%v",
p.topic,
p.partition,
key,
offset,
)
}

err := p.st.Update(&DefaultUpdateContext{
topic: p.st.topic,
Expand Down

0 comments on commit c8c742d

Please sign in to comment.