private void stopProducer(long v) {
            try {
                messageProducer.shutdown();
            } catch (Throwable e) {
                e.printStackTrace();
            }
            System.out.println("\n" + v + " message(s) has been produced. Exited.");
        }
Stop a producer and print the total number of messages produced

@param v  total number of messages
@throws TubeClientException
@throws InterruptedException
inlong-tubemq/tubemq-server/src/main/java/org/apache/inlong/tubemq/server/tools/cli/MessageCommand.java