Arduino Mega send data to ESP8266-01 then ESP forward to RPI (MQTT)

Thank you for your help. I will try that and respond later.