Class OffsetSpec
Used in ListOffsets to specify the desired offsets
of the partition being queried.
Inheritance
OffsetSpec
      
      
      
      
  Inherited Members
Namespace: Confluent.Kafka.Admin
Assembly: Confluent.Kafka.dll
Syntax
public abstract class OffsetSpec
  Methods
Earliest()
Returns the EarliestSpec instance.
Declaration
public static OffsetSpec Earliest()
  Returns
| Type | Description | 
|---|---|
| OffsetSpec | 
ForTimestamp(long)
Returns a new instance of TimestampSpec with the specified timestamp.
Declaration
public static OffsetSpec ForTimestamp(long timestamp)
  Parameters
| Type | Name | Description | 
|---|---|---|
| long | timestamp | Timestamp in milliseconds.  | 
      
Returns
| Type | Description | 
|---|---|
| OffsetSpec | 
Latest()
Returns the LatestSpec instance.
Declaration
public static OffsetSpec Latest()
  Returns
| Type | Description | 
|---|---|
| OffsetSpec | 
MaxTimestamp()
Returns the MaxTimestamp instance.
Declaration
public static OffsetSpec MaxTimestamp()
  Returns
| Type | Description | 
|---|---|
| OffsetSpec |