The managed streaming service ___ assigns records to shards using partition keys and lets independent consumers replay…