Added support for creating produce- and consume commands during replay.

Signed-off-by: Jakob Brandsborg Ehmsen <jakobehmsen.github@gmail.com>