I have been using a Misty Mountain UV sterilizer now for over 20 years on my pond and it keeps it clear. It is in a stainless steel pipe which I believe is why it has lasted so long. The plastic encasements even if lined with a metal foil do not seem to last more than a few years. SO you might check put Misty Mountain, probably out of business since they made such a durable product.
The cheap route to such a system as you are looking for is to by the sterilizer at auction and plumb it to do what you want. New one are rather expensive. and the bulbs are also, so you have to design the flow so that if the wanter flow stops, that the bulb is still covered with water, otherwise the bulb will get hot and burn out or the water will come back on and when it touches the hot bulb it goes boom.