A drunken diner went on a rampage with a baton at Granville restaurant Gong Cha before being taken down by customers.

A group of customers have been hailed for bringing down a drunk man after he pulled out a baton and went on a violent rampage inside a Sydney bubble tea store.

The incident occurred on Sunday night when a 22-year-old intoxicated man pushed past a long queue of people waiting to be served at a Gong Cha restaurant in Granville.

He demanded to be served and became increasingly aggressive when staff told him he would have to go to the back of the line.

CCTV captured the moment the man pulled an extendible baton out of his bag and started smashing cups and a computer on the front desk.

“Everyone was scared,” witness Abdul Moeed told 7 News.

“Everyone stepped back.”

Most customers hurried out of the restaurant as the man continued screaming at staff and hitting objects, but he was quickly confronted by a group of men.

One man wearing a grey hoodie and a black cap punched the man in the face before the rest of the group jumped in to help restrain him.

They managed to wrestle the baton from him, but the man still refused to leave the store.

The customers then used his own weapon against him, hitting him and dragging him to the ground.

At this point the man started crawling to the back of the store on his hands and knees before police arrived to arrest him.

According to The Daily Telegraph, the man’s rampage started after he allegedly assaulted two young men when they wouldn’t give him a cigarette.

He then ran into the store after the men reportedly called their friends for help.

Police say the 22-year-old also had a knife on him and was intoxicated.

He was charged with affray and possessing prohibited weapons and was granted bail to appear in court next month.

“This is an alcohol-free zone but still people get drunk. There was a lot of incidents before this,” Mr Moeed said.

The restaurant had just opened its doors on Friday and has now been forced to shut while repairs take place.