It didn't take long for a legendary bash to break out in 2017 ... as countless rappers and sports stars turned up at LIV nightclub Sunday night.
Justin Bieber, Lil Wayne, Jamie Foxx, Johnny Manziel and Odell Beckham Jr. were just SOME of the celebs who partied together at the Miami club for Headliner Market Group Night.
Weezy, Trey Songz, 2 Chainz and Fabolous performed for the crowd -- that also included Khloe Kardashian, Tristan Thompson, Adrien Brody and Victor Cruz.
Bieber and OBJ continued the festivities at E11EVEN club 'til 5 a.m. We're told their group drank Don Julio 1942 Magnums.
It may only be January 2nd ... but this could be the party of the year.