Package kafka.javaapi

Examples of kafka.javaapi.FetchRequest


        currentOffset, fetchBufferSize);

    HashMap<TopicAndPartition, PartitionFetchInfo> fetchInfo = new HashMap<TopicAndPartition, PartitionFetchInfo>();
    fetchInfo.put(topicAndPartition, partitionFetchInfo);

    FetchRequest fetchRequest = new FetchRequest(
        CamusJob.getKafkaFetchRequestCorrelationId(context),
        CamusJob.getKafkaClientName(context),
        CamusJob.getKafkaFetchRequestMaxWait(context),
        CamusJob.getKafkaFetchRequestMinBytes(context), fetchInfo);
View Full Code Here

TOP

Related Classes of kafka.javaapi.FetchRequest

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.