code: func NewReplicationManager(podInformer coreinformers.PodInformer, rcInformer coreinformers.ReplicationControllerInformer, kubeClient clientset.Interface, burstReplicas int) *ReplicationManager {
  	eventBroadcaster := record.NewBroadcaster()
  	eventBroadcaster.StartLogging(klog.Infof)
  	eventBroadcaster.StartRecordingToSink(&v1core.EventSinkImpl{Interface: kubeClient.CoreV1().Events("")})
  	return &ReplicationManager{
  		*replicaset.NewBaseController(informerAdapter{rcInformer}, podInformer, clientsetAdapter{kubeClient}, burstReplicas,
  			v1.SchemeGroupVersion.WithKind("ReplicationController"),
  			"replication_controller",
  			"replicationmanager",
  			podControlAdapter{controller.RealPodControl{
  				KubeClient: kubeClient,
  				Recorder:   eventBroadcaster.NewRecorder(scheme.Scheme, v1.EventSource{Component: "replication-controller"}),
  			}},
  		),
  	}
  }
docs: // NewReplicationManager configures a replication manager with the specified event recorder