@Override
  public void onComplete() {
    TraceUtil.trace(delegate::onComplete, "TracedScanResultConsumer#onComplete");
  }
A wrapper over {@link SimpleScanResultConsumer} that adds tracing of spans to its implementation.
hbase-server/src/test/java/org/apache/hadoop/hbase/client/TracedScanResultConsumer.java