code: func populateDefaults(options CorrelatorOptions) CorrelatorOptions {
  	if options.LRUCacheSize == 0 {
  		options.LRUCacheSize = maxLruCacheEntries
  	}
  	if options.BurstSize == 0 {
  		options.BurstSize = defaultSpamBurst
  	}
  	if options.QPS == 0 {
  		options.QPS = defaultSpamQPS
  	}
  	if options.KeyFunc == nil {
  		options.KeyFunc = EventAggregatorByReasonFunc
  	}
  	if options.MessageFunc == nil {
  		options.MessageFunc = EventAggregatorByReasonMessageFunc
  	}
  	if options.MaxEvents == 0 {
  		options.MaxEvents = defaultAggregateMaxEvents
  	}
  	if options.MaxIntervalInSeconds == 0 {
  		options.MaxIntervalInSeconds = defaultAggregateIntervalInSeconds
  	}
  	if options.Clock == nil {
  		options.Clock = clock.RealClock{}
  	}
  	return options
  }
docs: // populateDefaults populates the zero value options with defaults