stream_name use StreamProperties based flushBuffer
use flushAllBuffers() to preserve inter-stream ordering