Package kafka.perf.jmx

Examples of kafka.perf.jmx.BrokerJmxClient


  public static void main(String[] args) throws Exception {

    //create parser and get options
    getOptions(createParser(), args);
   
    BrokerJmxClient brokerStats = new BrokerJmxClient(kafkaServersURL, 9999, timeToRunMs);
    KafkaPerfSimulator sim = new KafkaPerfSimulator();
    PerfTimer timer = new PerfTimer( brokerStats, sim, numConsumers, numProducer,numParts, numTopic, timeToRunMs,reportFileName);
    timer.start();
    MBeanServer mbs = ManagementFactory.getPlatformMBeanServer();
    ObjectName mbeanName = new ObjectName("kafka.perf:type=Simulator");
View Full Code Here


    public static void main(String[] args) throws Exception {

        //create parser and get options
        getOptions(createParser(), args);

        BrokerJmxClient brokerStats = new BrokerJmxClient(kafkaServersURL, 9999, timeToRunMs);
        KafkaPerfSimulator sim = new KafkaPerfSimulator();
        PerfTimer timer = new PerfTimer( brokerStats, sim, numConsumers, numProducer,numParts, numTopic, timeToRunMs,
                reportFileName, compressionCodec);
        timer.start();
        MBeanServer mbs = ManagementFactory.getPlatformMBeanServer();
View Full Code Here

TOP

Related Classes of kafka.perf.jmx.BrokerJmxClient

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.