config

package
v1.0.8-benthos-in-go-r... Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ConfigDefaultJSON = []byte(`
{
	"DD_PROFILER_CONFIG": {
		"ENABLED": false,
		"SERVICE_NAME": "in-environment",
		"APPLICATION_ENVIRONMENT": "in-environment",
		"VERSION": "1.0.0"
	},
	"KAFKA_DEAD_LETTER_CONFIG": {
		"SEEDS": ["localhost:9093"],
		"GROUP": "$Default",
		"TOPIC": "cloudevents-core-deadletter"
	}

  }
`)

ConfigDefaultJSON default json

Functions

This section is empty.

Types

type Config

type Config struct {
	DDProfilerConfig      *fluffycore_contracts_ddprofiler.Config `json:"ddProfilerConfig" mapstructure:"DD_PROFILER_CONFIG"`
	KafkaDeadLetterConfig *KafkaConfig                            `json:"kafkaDeadLetterConfig" mapstructure:"KAFKA_DEAD_LETTER_CONFIG"`
}

type KafkaConfig

type KafkaConfig struct {
	Seeds []string `json:"seeds" mapstructure:"SEEDS"`
	Group string   `json:"group" mapstructure:"GROUP"`
	Topic string   `json:"topic" mapstructure:"TOPIC"`
}

Jump to

Keyboard shortcuts

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