There is no step by step guide on this but these links helped me understanding it a lot more.
Information on configuring the (v1 MQTT Binding)
Blog post about new MQTT binding very handy
Topic of someone migrating Sonoff (4ch switches) form MQTT v1 binding to MQTT v2 binding