1 write to consumer
Aspire.Confluent.Kafka (1)
src\Vendoring\OpenTelemetry.Instrumentation.ConfluentKafka\InstrumentedConsumer.cs (1)
18
this.
consumer
= consumer;
38 references to consumer
Aspire.Confluent.Kafka (38)
src\Vendoring\OpenTelemetry.Instrumentation.ConfluentKafka\InstrumentedConsumer.cs (38)
22
public Handle Handle => this.
consumer
.Handle;
24
public string Name => this.
consumer
.Name;
26
public string MemberId => this.
consumer
.MemberId;
28
public List<TopicPartition> Assignment => this.
consumer
.Assignment;
30
public List<string> Subscription => this.
consumer
.Subscription;
32
public IConsumerGroupMetadata ConsumerGroupMetadata => this.
consumer
.ConsumerGroupMetadata;
38
this.
consumer
.Dispose();
43
return this.
consumer
.AddBrokers(brokers);
48
this.
consumer
.SetSaslCredentials(username, password);
59
result = this.
consumer
.Consume(millisecondsTimeout);
86
result = this.
consumer
.Consume(cancellationToken);
113
result = this.
consumer
.Consume(timeout);
134
this.
consumer
.Subscribe(topics);
139
this.
consumer
.Subscribe(topic);
144
this.
consumer
.Unsubscribe();
149
this.
consumer
.Assign(partition);
154
this.
consumer
.Assign(partition);
159
this.
consumer
.Assign(partitions);
164
this.
consumer
.Assign(partitions);
169
this.
consumer
.IncrementalAssign(partitions);
174
this.
consumer
.IncrementalAssign(partitions);
179
this.
consumer
.IncrementalUnassign(partitions);
184
this.
consumer
.Unassign();
189
this.
consumer
.StoreOffset(result);
194
this.
consumer
.StoreOffset(offset);
199
return this.
consumer
.Commit();
204
this.
consumer
.Commit(offsets);
209
this.
consumer
.Commit(result);
214
this.
consumer
.Seek(tpo);
219
this.
consumer
.Pause(partitions);
224
this.
consumer
.Resume(partitions);
229
return this.
consumer
.Committed(timeout);
234
return this.
consumer
.Committed(partitions, timeout);
239
return this.
consumer
.Position(partition);
244
return this.
consumer
.OffsetsForTimes(timestampsToSearch, timeout);
249
return this.
consumer
.GetWatermarkOffsets(topicPartition);
254
return this.
consumer
.QueryWatermarkOffsets(topicPartition, timeout);
259
this.
consumer
.Close();