Link between Exodus and the Apocalypse
וְנָֽתַתִּי֙ מֽוֹפְתִ֔ים בַּשָּׁמַ֖יִם וּבָאָ֑רֶץ דָּ֣ם וָאֵ֔שׁ וְתִֽימְר֖וֹת עָשָֽׁן׃
Before the great and terrible day of GOD comes,
I will set portents in the sky and on earth:
Blood and fire and pillars of smoke;
אֵלּוּ הֵן הַמְמֻנִּין שֶׁהָיוּ בַּמִּקְדָּשׁ, יוֹחָנָן בֶּן פִּנְחָס עַל הַחוֹתָמוֹת, אֲחִיָּה עַל הַנְּסָכִים, מַתִּתְיָה בֶּן שְׁמוּאֵל עַל הַפְּיָסוֹת, פְּתַחְיָה עַל הַקִּנִּין. פְּתַחְיָה, זֶה מָרְדְּכָי. לָמָּה נִקְרָא שְׁמוֹ פְּתַחְיָה. שֶׁהָיָה פּוֹתֵחַ בִּדְבָרִים וְדוֹרְשָׁן, וְיוֹדֵעַ שִׁבְעִים לָשׁוֹן. בֶּן אֲחִיָּה עַל חוֹלֵי מֵעַיִם, נְחוּנְיָא חוֹפֵר שִׁיחִין, גְּבִינֵי כָרוֹז, בֶּן גֶּבֶר עַל נְעִילַת שְׁעָרִים, בֶּן בֵּבָי עַל הַפָּקִיעַ, בֶּן אַרְזָה עַל הַצִּלְצָל, הֻגְרַס בֶּן לֵוִי עַל הַשִּׁיר, בֵּית גַּרְמוּ עַל מַעֲשֵׂה לֶחֶם הַפָּנִים, בֵּית אַבְטִינָס עַל מַעֲשֵׂה הַקְּטֹרֶת, אֶלְעָזָר עַל הַפָּרוֹכוֹת, וּפִנְחָס עַל הַמַּלְבּוּשׁ:
These are the officials who served in specific positions in the Temple: Yoḥanan ben Pineḥas was responsible for the seals. One who paid for a specific type of sacrificial item received a seal, which he presented to the Temple official in exchange for that item. Aḥiyya was responsible for the libations, i.e., the wine, oil, and flour prepared with the level of ritual purity necessary for the libation offerings and the meal-offerings, which accompanied many animal offerings. Aḥiyya supplied the libations to those who presented the appropriate seal. Matya ben Shmuel was responsible for the lotteries, which were used to select priests for the various Temple services each day. Petaḥya was responsible for the pairs of birds, i.e., the turtledoves or pigeons, brought by a zav, a zava, a woman after childbirth, and a leper. They placed the appropriate sum of money into the horn designated for this purpose, and each day Petaḥya oversaw the purchase of birds from that money and their sacrifice in the proper manner. Incidentally, the Gemara mentions: Petaḥya is Mordecai from the book of Esther. And why was he called Petaḥya, which resembles the word for opening [petaḥ]? The reason is that he would open, i.e., elucidate, difficult topics and interpret them to the people, and because he knew all seventy languages known at the time. The mishna resumes the list of officials. Ben Aḥiyya was responsible for the care of the priests who suffered from intestinal disease. Neḥunya was the well digger for pilgrims on their way to Jerusalem for the Festivals. Gevini was the Temple crier who would awaken the priests and the Levites for their Temple duties. Ben Gever was responsible for locking the Temple gates in the evening and for unlocking them in the morning. Ben Bevai was appointed over the shreds of garments, which were formed into wicks for the Temple candelabra. He also supervised the twisting of those wicks into the appropriate thickness for the various nights during the different seasons of the year. Ben Arza was responsible for the cymbal, which was rung as a signal that the Levites should commence their song. Hugras ben Levi was responsible for the song. He taught and conducted the singers in the Temple. The house of Garmu was responsible for the preparation of the shewbread; the house of Avtinas was responsible for the preparation of the incense; and Elazar was responsible for weaving the Temple curtains; and Pineḥas was the valet, who assisted the priests in fitting their clothes and dressing themselves for their Temple service.
שֶׁל בֵּית אַבְטִינָס לֹא רָצוּ לְלַמֵּד עַל מַעֲשֵׂה הַקְּטוֹרֶת. תָּנוּ רַבָּנַן: בֵּית אַבְטִינָס הָיוּ בְּקִיאִין בְּמַעֲשֵׂה הַקְּטוֹרֶת וְלֹא רָצוּ לְלַמֵּד, שָׁלְחוּ חֲכָמִים וְהֵבִיאוּ אוּמָּנִין מֵאֲלֶכְּסַנְדְּרִיָּא שֶׁל מִצְרַיִם. וְהָיוּ יוֹדְעִין לְפַטֵּם כְּמוֹתָם וְלֹא הָיוּ יוֹדְעִין לְהַעֲלוֹת עָשָׁן כְּמוֹתָן. שֶׁל הַלָּלוּ — מִתַּמֵּר וְעוֹלֶה כְּמַקֵּל, שֶׁל הַלָּלוּ — מַפְצִיעַ לְכָאן וּלְכָאן.
§ Similarly, the mishna related: The craftsmen of the House of Avtinas did not want to teach about the secret of the preparation of the incense, at which they were particularly adept. The Sages taught in a baraita: The members of the House of Avtinas were expert in the technique of preparing the incense, and they did not want to teach others. The Sages dismissed them and sent for and brought craftsmen from Alexandria in Egypt. And the Alexandrian craftsmen knew how to blend the spices like they did, but they did not know how to cause the smoke to rise like the House of Avtinas did. The smoke of the incense blended by these members of the House of Avtinas rises in a column like a stick; the smoke of the incense blended by these Alexandrians branched out to here and to there and did not rise in a straight line.

"It seems likely that the Haggada cites the pasuk in Yoel to associate the Exodus and the apocalypse... Limited in space, the Haggada did not cite each and every pasuk verifying each and every "Egyptian" plague during the apocalypse. Instead, it merely quoted the first one. According to the Haggada, the final phrase of the four pasuk synopsis of Ki Tavo envisions an ultimate redemption modeled after our first redemption. The concluding word of "moftim" links to the pasuk in Yoel, which serves as the first indication that the plagues will reemerge during the apocalypse. The Haggada cites this one pasuk assuming that we can draw the allusion to the message and the linkage between the Exodus and the apocalypse."

From R. Moshe Taragin, "Five Hidden Components of Yetziat Mitzrayim" at https://etzion.org.il/en/holidays/pesach/five-hidden-components-yetziat-mitzrayim.