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
Click to show internal directories.
Click to hide internal directories.