public interface SenderFactory
Sender
based on the given
Configuration.SenderConfiguration
. This factory is usually used in conjunction with the
SenderResolver
, so that the appropriate factory will be loaded via
ServiceLoader
.Modifier and Type | Method and Description |
---|---|
Sender |
getSender(Configuration.SenderConfiguration senderConfiguration)
Builds and/or selects the appropriate sender based on the given
Configuration.SenderConfiguration |
java.lang.String |
getType()
The Factory's name.
|
Sender getSender(Configuration.SenderConfiguration senderConfiguration)
Configuration.SenderConfiguration
senderConfiguration
- the sender configurationNoopSender
.java.lang.String getType()
Configuration.JAEGER_SENDER_FACTORY
to disambiguate
the resolution, in case multiple senders are available via the service loader.