[streaming] StreamRecordWriter added for automatic output flushing settings