public void Unassign() { var offsets = this.Committed(TimeSpan.FromSeconds(1)); Assignment.Clear(); Listener?.PartitionsRevoked(this, offsets); }
public void Unassign() { Assignment.Clear(); foreach (var kp in offsets) { kp.Value.OffsetConsumed = kp.Value.OffsetCommitted; } }
public void Close() { Assignment.Clear(); Subscription.Clear(); }
public void Close() { cluster.CloseConsumer(Name); Assignment.Clear(); Subscription.Clear(); }
public void PartitionsAssigned(List <TopicPartition> partitions) { Assignment.Clear(); Assignment.AddRange(partitions); }
public void Unassign() { cluster.Unassign(this); Assignment.Clear(); }
public void Unsubscribe() { cluster.Unsubscribe(this); Subscription.Clear(); Assignment.Clear(); }
public void Close() { MockCluster.Instance.CloseConsumer(this.Name); Assignment.Clear(); Subscription.Clear(); }
public void Unassign() { MockCluster.Instance.Unassign(this); Assignment.Clear(); }