output

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 1, 2022 License: MIT Imports: 12 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KafkaAgentV1

type KafkaAgentV1 struct {
	Timestamp uint64 `json:"timestamp,omitempty"`
	Agent     uint32 `json:"agent,omitempty"`
	Property  string `json:"property,omitempty"`
	Raw       string `json:"raw,omitempty"`
	Json      string `json:"json,omitempty"`
}

type KafkaAttributeV1

type KafkaAttributeV1 struct {
	Timestamp uint64 `json:"timestamp,omitempty"`
	Attribute uint32 `json:"attribute,omitempty"`
	Property  string `json:"property,omitempty"`
	Json      string `json:"json,omitempty"`
	Total     uint64 `json:"total,omitempty"`
}

type KafkaEventV1

type KafkaEventV1 struct {
	Timestamp uint64 `json:"timestamp,omitempty"`
	Event     uint64 `json:"event,omitempty"`
	Property  string `json:"property,omitempty"`
	Json      string `json:"json,omitempty"`
	Total     uint64 `json:"total,omitempty"`
}

type KafkaMessageV1

type KafkaMessageV1 struct {
	Timestamp   uint64   `json:"timestamp,omitempty"`
	Origin      string   `json:"origin,omitempty"`
	IPv4        string   `json:"ipv4,omitempty"`
	Agent       uint32   `json:"agent,omitempty"`
	Session     string   `json:"session,omitempty"`
	Referrer    string   `json:"referrer,omitempty"`
	Country     string   `json:"country,omitempty"`
	Lang        string   `json:"lang,omitempty"`
	Fingerprint string   `json:"fingerprint,omitempty"`
	Provider    string   `json:"provider,omitempty"`
	Property    string   `json:"property,omitempty"`
	Events      []uint64 `json:"events,omitempty"`
	Attributes  []uint32 `json:"attributes,omitempty"`
}

type KafkaOutput

type KafkaOutput struct {
	// contains filtered or unexported fields
}

func NewKafkaOutput

func NewKafkaOutput(wg *sync.WaitGroup, options KafkaOutputOptions, topicsV1 KafkaOutputTopicsV1) *KafkaOutput

func (*KafkaOutput) Send

func (k *KafkaOutput) Send(m *common.Message, variables map[string]string)

type KafkaOutputOptions

type KafkaOutputOptions struct {
	Brokers            string
	ClientID           string
	FlushFrequency     int
	FlushMaxMessages   int
	NetMaxOpenRequests int
	NetDialTimeout     int
	NetReadTimeout     int
	NetWriteTimeout    int
}

type KafkaOutputTopicsV1

type KafkaOutputTopicsV1 struct {
	DefaultPart string
	Messages    string
	Agents      string
	Events      string
	Attributes  string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL