2. $\triangle A B C$ satisfies $\boldsymbol{A B} \cdot \boldsymbol{B C}=\boldsymbol{B} \boldsymbol{C} \cdot \boldsymbol{C A}$. Then $\triangle A B C$ is ( ).
(A) right triangle
(B) acute triangle
(C) obtuse triangle
(D) isosceles triangle
2.D.

Let the midpoint of $B C$ be $D$. Then
$$
\begin{array}{l}
A \boldsymbol{B} \cdot \boldsymbol{B C}=\boldsymbol{B C} \cdot \boldsymbol{C A} \\
\Rightarrow(\boldsymbol{A B}-\boldsymbol{C A}) \cdot B C=0 \\
\Rightarrow(A B+A C) \cdot B C=0 \Rightarrow 2 A D \cdot B C=0 \\
\Rightarrow A D \perp B C \Rightarrow A B=A C .
\end{array}
$$