rpcconfig

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2022 License: Apache-2.0 Imports: 3 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 {
	zrpc.RpcServerConf
	SinglePushConsumer    SinglePushConsumerConfig
	GroupPushConsumer     GroupPushConsumerConfig
	KickConnConsumerGroup KickConnConsumerConfig
	ImUserRpc             zrpc.RpcClientConf
	MsgPushRpc            zrpc.RpcClientConf
	Producer              KafkaConfig
}

type GroupPushConsumerConfig

type GroupPushConsumerConfig struct {
	xkafka.ProducerConfig
	GroupPushGroupID string `json:",optional"`
}

func (GroupPushConsumerConfig) GetGroupID

func (s GroupPushConsumerConfig) GetGroupID() string

type KafkaConfig

type KafkaConfig struct {
	SinglePush xkafka.ProducerConfig
	GroupPush  xkafka.ProducerConfig
	KickConn   xkafka.ProducerConfig
}

type KickConnConsumerConfig added in v1.0.2

type KickConnConsumerConfig struct {
	xkafka.ProducerConfig
	KickConnGroupID string `json:",optional"`
}

func (KickConnConsumerConfig) GetGroupID added in v1.0.2

func (s KickConnConsumerConfig) GetGroupID() string

type SinglePushConsumerConfig

type SinglePushConsumerConfig struct {
	xkafka.ProducerConfig
	SinglePushGroupID string `json:",optional"`
}

func (SinglePushConsumerConfig) GetGroupID

func (s SinglePushConsumerConfig) GetGroupID() string

Jump to

Keyboard shortcuts

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