Federal judge gives ex-officer nearly 3 years in Breonna Taylor raid