I use this to make sure I don't overflow my tanks when flushing:
https://www.amazon.com/gp/product/B0...?ie=UTF8&psc=1
It measures water flow. Since I know by black tank holds 42 gallons, I usually fill it with 36 gallons and then drain. Do this until it drains clean. I use one of the clear plastic fittings:
https://www.amazon.com/Valterra-Degr...578848890&s=hi
This procedure ensures that I never overflow my black tank again. Don't ask how I know.