Revert "Remove rate-gauge."

This reverts commit cf320d2ca547ef65366cda7837a1631b3d734ce2.
Switch to dedicated threads for Kafka consuming to avoid thread starvation.