Added: passing stream metadata configuration via emitted events (not handling
yet)
Changed: emitted stream support for writing stream metadata