xconf

package
v0.0.0-...-d80f745 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2024 License: Apache-2.0 Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Discovery

type Discovery struct {
	Hosts []string `json:"hosts"`
	Key   string   `json:"key"`
}

func (Discovery) AsZrpcClientConf

func (c Discovery) AsZrpcClientConf() zrpc.RpcClientConf

type KfkConf

type KfkConf struct {
	Brokers      []string `json:"brokers"`
	Topic        string   `json:"topic"`
	ConsumeGroup string   `json:"consume_group"`
	NumConsumers int      `json:"num_consumers"`
	Offset       string   `json:"offset"`
}

func (KfkConf) AsKqConf

func (kc KfkConf) AsKqConf() kq.KqConf

Jump to

Keyboard shortcuts

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