The streak was broken up on a home run by Will Venable to left field leading off the fourth inning.
Cameron Maybin led off the game with a single to center field, which was the only ball put in play before Harang tallied the nine strikeouts.
The Dodgers record was previously held by Johnny Podres, who struck out eight batters in a row on July 2, 1962, against the Phillies.
Finding success with his two- and four-seam fastball, the Harang also mixed an occasional curveball and slider to keep San Diego off balance.
Harang fell one short of the Major League record of 10 consecutive strikeouts, set by the Mets' Tom Seaver on April 22, 1970.
Quinn Roberts is a reporter for MLB.com. This story was not subject to the approval of Major League Baseball or its clubs.