OffsetCommitRequest class
Kafka OffsetCommitRequest.
- Inheritance
-
- Object
- KafkaRequest
- OffsetCommitRequest
Constructors
-
OffsetCommitRequest(String consumerGroup, List<
ConsumerOffset> offsets, int consumerGroupGenerationId, String consumerId, int retentionTime) - Creates new instance of OffsetCommitRequest.
Properties
- apiKey → int
-
API key of OffsetCommitRequest.
final
- apiVersion → int
-
API version of OffsetCommitRequest.
final
- consumerGroup → String
-
Name of the consumer group.
final
- consumerGroupGenerationId → int
-
Generation ID of the consumer group.
final
- consumerId → String
-
ID of the consumer.
final
- correlationId → int
-
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
-
offsets
→ List<
ConsumerOffset> -
List of consumer offsets to be committed.
final
- retentionTime → int
-
Time period in msec to retain the offset.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
createResponse(
List< int> data) → dynamic -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toBytes(
) → List< int> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited