Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Consumer ¶
Consumer is an interface for types that consume messages from a source and feed them into a channel for downstream processing.
type FileConsumer ¶
FileConsumer is a Consumer implementation that reads from local files.
type KafkaConsumer ¶
type KafkaConsumer struct { Address string Topic string Partitions []kafka.Partition Offset int64 Since time.Time Until time.Time MinBytes int MaxBytes int }
KafkaConsumer is a Consumer implementation that reads messages from a Kafka topic.
type LiveStats ¶
type LiveStats struct {
// contains filtered or unexported fields
}
LiveStats is a processor that calculates and displays stats based on a structured message stream.
func NewLiveStats ¶
func NewLiveStats(config LiveStatsConfig) (*LiveStats, error)
NewLiveStats creates a new LiveStats instance and starts the main progress printing loop.
type LiveStatsConfig ¶
type LiveStatsConfig struct { Filter string K int Numeric bool PathsStr string PrintMissing bool ProtoTypes []string Raw bool RawExtended bool SortByName bool }
LiveStatsConfig stores the inputs for a LiveStats processor.
type S3Consumer ¶
S3Consumer is a Consumer implementation that reads from one or more prefixes in an S3 bucket.
Click to show internal directories.
Click to hide internal directories.