Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetRPCServerRouterInfo ¶
func SetRPCServerRouterInfo(endpoint string, newManager iface.ManagerServer)
Types ¶
type Consumer ¶
type Consumer struct {
// contains filtered or unexported fields
}
func GetConsumerHandler ¶
func GetConsumerHandler() *Consumer
func (*Consumer) ConsumeClaim ¶
func (consumer *Consumer) ConsumeClaim(session sarama.ConsumerGroupSession, claim sarama.ConsumerGroupClaim) error
type GroupHandler ¶
type GroupHandler interface {
Setup(sarama.ConsumerGroupSession) error
Cleanup(sarama.ConsumerGroupSession) error
ConsumeClaim(sarama.ConsumerGroupSession, sarama.ConsumerGroupClaim) error
}
type Option ¶
func WithInitialSyncComplete ¶
func WithInitialSyncComplete(c chan struct{}) Option
Click to show internal directories.
Click to hide internal directories.