1, add the jmx sink metrics
2, batch to produce