config

package
v1.0.14-herb-centrifig... Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ConfigDefaultJSON = []byte(`
{
	"enableKafkaSASL": false,
	"ddProfilerConfig": {
		"enabled": false,
		"serviceName": "in-environment",
		"applicationEnvironment": "in-environment",
		"version": "1.0.0"
	},
	"kafkaDeadLetterConfig": {
		"seeds": ["localhost:9093"],
		"group": "$Default",
		"topic": "cloudevents-core-deadletter"
	},
	"configFiles": {
		"rootPath": ""
	},
	"centrifugeConfig": {
		"streams": [
			{
				"namespace": "unique-namespace-one",
				"endpoint": "ws://localhost:8079/connection/websocket",
				"configPath": "./config/centrifuge.yaml"
			}
		]
	}

  }
`)

ConfigDefaultJSON default json

Functions

This section is empty.

Types

type CentrifugeConfig added in v1.0.14

type CentrifugeConfig struct {
	Streams []*contracts_benthos.CentrifugeStreamConfig `json:"streams"`
}

type Config

type Config struct {
	DDProfilerConfig      *fluffycore_contracts_ddprofiler.Config `json:"ddProfilerConfig"`
	KafkaDeadLetterConfig *KafkaConfig                            `json:"kafkaDeadLetterConfig"`
	EnableKafkaSASL       bool                                    `json:"enableKafkaSASL"`
	ConfigFiles           *ConfigFiles                            `json:"configFiles"`
	CentrifugeConfig      *CentrifugeConfig                       `json:"centrifugeConfig"`
}

type ConfigFiles added in v1.0.14

type ConfigFiles struct {
	RootPath string `json:"rootPath"`
}

type InitialConfig added in v1.0.14

type InitialConfig struct {
	ConfigFiles ConfigFiles `json:"configFiles"`
}

type KafkaConfig

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

Jump to

Keyboard shortcuts

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