func New(conf *sink.SinkConfig, leaseCache *cache.LeaseCache) (sink.Sink, error)
New creates a new instance of inmemSink.