Documentation ¶
Index ¶
Constants ¶
View Source
const ( // EncodingJSON indicates spans are encoded as a json byte array EncodingJSON = "json" // EncodingProto indicates spans are encoded as a protobuf byte array EncodingProto = "protobuf" // ConfigPrefix is a prefix fro the ingester flags ConfigPrefix = "ingester" // SuffixBrokers is a suffix for the brokers flag SuffixBrokers = ".brokers" // SuffixTopic is a suffix for the topic flag SuffixTopic = ".topic" // SuffixGroupID is a suffix for the group-id flag SuffixGroupID = ".group-id" // SuffixParallelism is a suffix for the parallelism flag SuffixParallelism = ".parallelism" // SuffixEncoding is a suffix for the encoding flag SuffixEncoding = ".encoding" // DefaultBroker is the default kafka broker DefaultBroker = "127.0.0.1:9092" // DefaultTopic is the default kafka topic DefaultTopic = "jaeger-spans" // DefaultGroupID is the default consumer Group ID DefaultGroupID = "jaeger-ingester" // DefaultParallelism is the default parallelism for the span processor DefaultParallelism = 1000 // DefaultEncoding is the default span encoding DefaultEncoding = EncodingProto )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Options ¶
type Options struct { kafkaConsumer.Configuration Parallelism int Encoding string }
Options stores the configuration options for the Ingester
func (*Options) InitFromViper ¶
InitFromViper initializes Builder with properties from viper
Click to show internal directories.
Click to hide internal directories.