You should keep the events on Kafka and make Nifi stop ingesting data. This can be done reducing the queues size and makeing backpressure work, stopping the NiFi Consumer before the NiFi system is overloaded and therefore blocked.