Temporary implementation of key/emit (not buffered)