Non-uniform discharges of contaminants in shear flows