org.apache.kafka.common.requests
Class OffsetFetchRequest

java.lang.Object
  extended by org.apache.kafka.common.requests.AbstractRequestResponse
      extended by org.apache.kafka.common.requests.OffsetFetchRequest

public class OffsetFetchRequest
extends AbstractRequestResponse

This wrapper supports both v0 and v1 of OffsetFetchRequest.


Field Summary
static Schema curSchema
           
static java.lang.String DEFAULT_CONSUMER_ID
           
static int DEFAULT_GENERATION_ID
           
 
Fields inherited from class org.apache.kafka.common.requests.AbstractRequestResponse
struct
 
Constructor Summary
OffsetFetchRequest(java.lang.String groupId, java.util.List<TopicPartition> partitions)
           
OffsetFetchRequest(Struct struct)
           
 
Method Summary
 java.lang.String groupId()
           
static OffsetFetchRequest parse(java.nio.ByteBuffer buffer)
           
 java.util.List<TopicPartition> partitions()
           
 
Methods inherited from class org.apache.kafka.common.requests.AbstractRequestResponse
equals, hashCode, sizeOf, toString, toStruct, writeTo
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

curSchema

public static Schema curSchema

DEFAULT_GENERATION_ID

public static final int DEFAULT_GENERATION_ID
See Also:
Constant Field Values

DEFAULT_CONSUMER_ID

public static final java.lang.String DEFAULT_CONSUMER_ID
See Also:
Constant Field Values
Constructor Detail

OffsetFetchRequest

public OffsetFetchRequest(java.lang.String groupId,
                          java.util.List<TopicPartition> partitions)

OffsetFetchRequest

public OffsetFetchRequest(Struct struct)
Method Detail

groupId

public java.lang.String groupId()

partitions

public java.util.List<TopicPartition> partitions()

parse

public static OffsetFetchRequest parse(java.nio.ByteBuffer buffer)