Recall that the arithmetic progression topology on $\mathbb{Z}$ is generated by the basis $\mathcal{B}=\left\{A_{a, b} \mid a, b \in \mathbb{Z}, b \neq 0\right\}$, where each
$$
A_{a, b}=\{\ldots, a-2 b, a-b, a, a+b, a+2 b, \ldots\}
$$
is an arithmetic progression. Determine whether or not $\mathbb{Z}$ is compact in this topology.