Transit visa through Sydney from Fiji to Abu Dhabi having Lebanese citizenship

I am Lebanese and want to travel from Fiji to Lebanon having to transit by Sydney airport.
I will have to stay at the airport 8 hours. My question is do I need to apply for a transit visa ?