示例#1
0
        public FetchPartition AddPartition(int partitionId, long fetchOffset, int maxBytes)
        {
            var partition = new FetchPartition(partitionId, fetchOffset, maxBytes);

            topic.Partitions.Add(partition);
            return(partition);
        }
示例#2
0
 public FetchPartition AddPartition(int partitionId, long fetchOffset, int maxBytes)
 {
     var partition = new FetchPartition(partitionId, fetchOffset, maxBytes);
     topic.Partitions.Add(partition);
     return partition;
 }