Skip to content

Commit

Permalink
bulker: disable stale topics logic by default
Browse files Browse the repository at this point in the history
  • Loading branch information
absorbb committed Oct 2, 2024
1 parent 7907a34 commit 0d4987e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bulkerapp/app/topic_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,7 @@ func (tm *TopicManager) processMetadata(metadata *kafka.Metadata, nonEmptyTopics
abandonedTopicsCount++
continue
}
var ok bool
if tm.config.StaleTopics {
lastMessageDate, ok := tm.topicLastActiveDate[topic]
if !ok || lastMessageDate.Before(staleTopicsCutOff) {
Expand Down

0 comments on commit 0d4987e

Please sign in to comment.