Class OffsetSpec
Used in ListOffsets
to specify the desired offsets
of the partition being queried.
Inheritance
System.Object
OffsetSpec
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Confluent.Kafka.Admin
Assembly: cs.temp.dll.dll
Syntax
public abstract class OffsetSpec
Methods
Earliest()
Returns the EarliestSpec instance.
Declaration
public static OffsetSpec Earliest()
Returns
Type | Description |
---|---|
OffsetSpec |
ForTimestamp(Int64)
Returns a new instance of TimestampSpec with the specified timestamp.
Declaration
public static OffsetSpec ForTimestamp(long timestamp)
Parameters
Type | Name | Description |
---|---|---|
System.Int64 | 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 |