Skip to content

Commit

Permalink
feedback
Browse files Browse the repository at this point in the history
Signed-off-by: Adrian Cole <adrian@tetrate.io>
  • Loading branch information
Adrian Cole committed Jan 7, 2024
1 parent cc91189 commit 78d3647
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
import javax.jms.JMSException;
import javax.jms.QueueSender;
import org.apache.activemq.ActiveMQConnectionFactory;
import zipkin2.reporter.AsyncReporter;
import zipkin2.reporter.BytesMessageEncoder;
import zipkin2.reporter.Call;
import zipkin2.reporter.Callback;
Expand All @@ -33,7 +32,8 @@
*
* <h3>Usage</h3>
* <p>
* This type is designed for {@link AsyncReporter.Builder#builder(Sender) the async reporter}.
* This type is designed for {@link zipkin2.reporter.AsyncReporter.Builder#builder(Sender) the async
* reporter}.
*
* <p>Here's a simple configuration, configured for json:
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
import java.util.Arrays;
import java.util.List;
import java.util.concurrent.TimeoutException;
import zipkin2.reporter.AsyncReporter;
import zipkin2.reporter.BytesMessageEncoder;
import zipkin2.reporter.Call;
import zipkin2.reporter.Callback;
Expand All @@ -37,7 +36,8 @@
*
* <h3>Usage</h3>
* <p>
* This type is designed for {@link AsyncReporter.Builder#builder(Sender) the async reporter}.
* This type is designed for {@link zipkin2.reporter.AsyncReporter.Builder#builder(Sender) the async
* reporter}.
*
* <p>Here's a simple configuration, configured for json:
*
Expand Down
3 changes: 2 additions & 1 deletion core/src/main/java/zipkin2/reporter/AsyncReporter.java
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@
*
* @param <S> type of the span, usually {@link zipkin2.Span}
*/
public final class AsyncReporter<S> extends Component implements Reporter<S>, Flushable {
// This is effectively, but not explicitly final as it was not final in version 2.x.
public class AsyncReporter<S> extends Component implements Reporter<S>, Flushable {

/**
* Builds a json reporter for <a href="https://zipkin.io/zipkin-api/#/">Zipkin V2</a>. If http,
Expand Down
4 changes: 2 additions & 2 deletions kafka/src/main/java/zipkin2/reporter/kafka/KafkaSender.java
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
import org.apache.kafka.clients.producer.RecordMetadata;
import org.apache.kafka.common.KafkaFuture;
import org.apache.kafka.common.serialization.ByteArraySerializer;
import zipkin2.reporter.AsyncReporter;
import zipkin2.reporter.AwaitableCallback;
import zipkin2.reporter.BytesMessageEncoder;
import zipkin2.reporter.Call;
Expand All @@ -41,7 +40,8 @@
*
* <h3>Usage</h3>
* <p>
* This type is designed for {@link AsyncReporter.Builder#builder(Sender)} the async reporter}.
* This type is designed for {@link zipkin2.reporter.AsyncReporter.Builder#builder(Sender) the async
* reporter}.
*
* <p>Here's a simple configuration, configured for json:
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
import okio.BufferedSink;
import okio.GzipSink;
import okio.Okio;
import zipkin2.reporter.AsyncReporter;
import zipkin2.reporter.CheckResult;
import zipkin2.reporter.ClosedSenderException;
import zipkin2.reporter.Encoding;
Expand All @@ -43,7 +42,8 @@
*
* <h3>Usage</h3>
* <p>
* This type is designed for {@link AsyncReporter.Builder#builder(Sender) the async reporter}.
* This type is designed for {@link zipkin2.reporter.AsyncReporter.Builder#builder(Sender) the async
* reporter}.
*
* <p>Here's a simple configuration, configured for json:
*
Expand Down

0 comments on commit 78d3647

Please sign in to comment.