I want to know what the flush_size and idle_flush_time has been changed to

Those parameters have been deprecated as output plugins are handled differently now by Logstash. Processing is now done in batches, and output is handled per batch. An output plugin is therefore no longer allowed to accumulate events across multiple batches, which is what I believe these parameters used to control.