Expose duplicatesOk configuration and add support for ListenerFuture