I have been experimenting with quadrature domains. The most obvious one is a circle. Let $f(z)$ be holomorphic on a large enough region and $\Omega= \{|z| < 1 \}$ then:
$$ \int_{\Omega} f\, dA = \pi \,f(0) $$
I almost reasoned the answer should be zero. We could change the area to polar coordinates:
$$ \int_{\Omega} f\, dA = \int_0^1 \int_{|z| = r } f(x+iy) \,dx\, dy = \int_0^1 \int_{|z| = r } f( r \, e^{i\theta}) \,r \, dr \, d\theta = 0$$
since the integral around the circle should be zero. Assuming there is no pole in side the circle $\{ |z| < 1\}$:
$$ \oint_{|z| = 1} f(z) \, dz = \int_{|z| = 1} f ( r \, e^{i\theta})\, r e^{i\theta} d\theta = 0 \cdot f(0) = 0$$
$\int_{|z|=1} f(r e^{i \theta}) e^{i \theta}\,d\theta$ is zero as you say, but $\int_{|z|=1} f(r e^{i \theta}) \,d\theta$ doesn't have to be. You could think about the constant function $f=1$, for instance.