conf

package
v0.0.0-...-acf8f99 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	MqttConfig   MqttConfig
	HttpConfig   HttpConfig
	PulsarConfig PulsarConfig
	TraceConfig  TraceConfig
}

type HttpConfig

type HttpConfig struct {
	Disable      bool
	Host         string
	Port         int
	DisablePprof bool
}

type MqttConfig

type MqttConfig struct {
	Host            string
	Port            int
	Qos1NoWaitReply bool
}

type PulsarConfig

type PulsarConfig struct {
	Host          string
	HttpPort      int
	TcpPort       int
	ProduceConfig PulsarProduceConfig
	ConsumeConfig PulsarConsumeConfig
}

type PulsarConsumeConfig

type PulsarConsumeConfig struct {
}

type PulsarProduceConfig

type PulsarProduceConfig struct {
	DisableRoutinePool      bool
	RoutinePoolSize         int
	DisableBatching         bool
	BatchingMaxPublishDelay time.Duration
	SendTimeout             time.Duration
	MaxPendingMessages      int
}

type TraceConfig

type TraceConfig struct {
	DisableTracing bool
	SkywalkingHost string
	SkywalkingPort int
	SampleRate     float64
}

Jump to

Keyboard shortcuts

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