I saw this German documentary about the egg industry.
They ship the males out of country where they are raised in sheds, then sold to Africa.
I think the best solution is to not buy eggs. A good replacement is mung bean flour. It has similar nutrition and flavor, can be obtained cheaply, and spares chickens from being exploited by humans.
Humans are animals. Why doesn’t it make sense to protect the rights of beings that can feel and know they exist over biological material that can’t feel or know it exists?