public SocketServerStatsMBean createSocketMbean() throws Exception
{
ObjectName mbeanName = new ObjectName("kafka:type=kafka.SocketServerStats");
SocketServerStatsMBean stats = JMX.newMBeanProxy(getMbeanConnection(), mbeanName, SocketServerStatsMBean.class, true);
return stats;
}