Class WatermarkOffsets
Represents the low and high watermark offsets of a Kafka topic/partition.
Inheritance
System.Object
WatermarkOffsets
Inherited Members
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
Assembly: cs.temp.dll.dll
Syntax
public class WatermarkOffsets
Constructors
WatermarkOffsets(Offset, Offset)
Initializes a new instance of the WatermarkOffsets class with the specified offsets.
Declaration
public WatermarkOffsets(Offset low, Offset high)
Parameters
Type | Name | Description |
---|---|---|
Offset | low | The offset of the earlist message in the topic/partition. |
Offset | high | The offset of the last stored message in the topic/partition. |
Properties
High
Gets the offset of the last stored message in the topic/partition.
Declaration
public Offset High { get; }
Property Value
Type | Description |
---|---|
Offset |
Low
Gets the offset of the earlist message in the topic/partition.
Declaration
public Offset Low { get; }
Property Value
Type | Description |
---|---|
Offset |
Methods
ToString()
Returns a string representation of the WatermarkOffsets object.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | A string representation of the WatermarkOffsets object. |
Overrides
System.Object.ToString()