How does a rise in wholesale price inflation affect different sections of society?

I want to understand the broader impact of increasing wholesale price inflation, not just on the economy but also on various social groups like farmers, small businesses, and consumers.