public function createProduced($key, $value): ProducedEvent
    {
        return new ProducedEvent(
            $this->sequencer->next(),
            $this->clock->time(),
            $key,
            $value
        );
    }