Class VertxSender

  • All Implemented Interfaces:
    Closeable, AutoCloseable

    public class VertxSender
    extends zipkin2.reporter.Sender
    An HTTP sender using Vert.x HttpClient, only JSON encoding is supported.
    Author:
    Julien Viet
    • Method Detail

      • encoding

        public zipkin2.codec.Encoding encoding()
        Specified by:
        encoding in class zipkin2.reporter.Sender
      • messageMaxBytes

        public int messageMaxBytes()
        Specified by:
        messageMaxBytes in class zipkin2.reporter.Sender
      • messageSizeInBytes

        public int messageSizeInBytes​(List<byte[]> encodedSpans)
        Specified by:
        messageSizeInBytes in class zipkin2.reporter.Sender
      • sendSpans

        public zipkin2.Call<Void> sendSpans​(List<byte[]> encodedSpans)
        Specified by:
        sendSpans in class zipkin2.reporter.Sender