Skip to content

Commit 6516bd7

Browse files
committed
Minor comment update
1 parent 2121349 commit 6516bd7

File tree

1 file changed

+4
-2
lines changed
  • dd-java-agent/instrumentation/kafka-clients-0.11/src/main/java/datadog/trace/instrumentation/kafka_clients

1 file changed

+4
-2
lines changed

dd-java-agent/instrumentation/kafka-clients-0.11/src/main/java/datadog/trace/instrumentation/kafka_clients/TracingList.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,13 +123,15 @@ public int lastIndexOf(final Object o) {
123123

124124
@Override
125125
public ListIterator<ConsumerRecord> listIterator() {
126-
// TODO: should this be instrumented as well?
126+
// TODO: the API for ListIterator is not really good to instrument it in context of Kafka
127+
// Consumer so we will not do that for now
127128
return delegate.listIterator();
128129
}
129130

130131
@Override
131132
public ListIterator<ConsumerRecord> listIterator(final int index) {
132-
// TODO: should this be instrumented as well?
133+
// TODO: the API for ListIterator is not really good to instrument it in context of Kafka
134+
// Consumer so we will not do that for now
133135
return delegate.listIterator(index);
134136
}
135137

0 commit comments

Comments
 (0)