Kenya doesn't depend on TZ to feeding herself. Kenya on bad years have small maize & beans deficit that get filled mostly by Uganda - very small deficit. Kenya easily produces 35M bags of maize against a demand of around 40M - and in some years like 2018 - kenya has excess 6M bags.
Kenya despite it's climatic condition is an agricultural giant because of basic stuff like fertilizer application. Kenya farm productivity is 2-3 times Tanzania.
Kenyan farmers use the highest average of fertiliser per hectare in Africa.
According to the report published by the Agrarian Green Revolution for Agriculture (AGRA) 2013, an average of 32kg of fertiliser is applied per hectare in Kenya. This is against the recommended 50kg per hectare.
Malawi closely follows Kenya at 29 and Zimbabwe at 28. Uganda comes fourth at 27kg per hectare. Globally, Netherlands uses 238kg of fertiliser per hectare. India comes second — using 167kg of fertiliser.
Kenya leads in the usage of fertiliser despite food insecurity : The Standard