package
0.7.1
Repository: https://github.com/grafana/xk6-output-kafka.git
Documentation: pkg.go.dev

# Functions

GetConsolidatedConfig combines {default config values + JSON config + environment vars + arg config values}, and returns the final result.
New creates a new instance of the output.
NewConfig creates a new Config instance with default values for some fields.
ParseArg takes an arg string and converts it to a config.

# Constants

Bool field.
Float field.
Int field.
String field (default).

# Structs

Config is the config for the kafka collector.
Output is a k6 output that sends metrics to a Kafka broker.

# Type aliases

FieldKind defines Enum for tag-to-field type conversion.