Documentation ¶
Index ¶
- func KeyConsumer(topic, subName string) string
- type Consumer
- type EventType
- type Pulsar
- func (s *Pulsar) ConsumerDelayTopic(confInfoList []*cc.ProducerConfInfo)
- func (s *Pulsar) ConsumerProcessorTopic(confInfoList []*cc.ProcessorConfInfo)
- func (s *Pulsar) Stop() error
- func (s *Pulsar) WatchDelayTopic(c *cc.ProducerConfInfo, eventType int32) error
- func (s *Pulsar) WatchProcessorTopic(c *cc.ProcessorConfInfo, eventType int32) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Consumer ¶
type Consumer struct {
// contains filtered or unexported fields
}
Consumer is a consumer of Pulsar
type Pulsar ¶
type Pulsar struct {
// contains filtered or unexported fields
}
Pulsar is a type of connector
func (*Pulsar) ConsumerDelayTopic ¶
func (s *Pulsar) ConsumerDelayTopic(confInfoList []*cc.ProducerConfInfo)
ConsumerDelayTopic is the subject of the subscription latency processor
func (*Pulsar) ConsumerProcessorTopic ¶
func (s *Pulsar) ConsumerProcessorTopic(confInfoList []*cc.ProcessorConfInfo)
ConsumerProcessorTopic is the topic of the subscription processor
func (*Pulsar) WatchDelayTopic ¶
func (s *Pulsar) WatchDelayTopic(c *cc.ProducerConfInfo, eventType int32) error
WatchDelayTopic watch the topic of the latency processor
func (*Pulsar) WatchProcessorTopic ¶
func (s *Pulsar) WatchProcessorTopic(c *cc.ProcessorConfInfo, eventType int32) error
WatchProcessorTopic watch the topic of the processor
Click to show internal directories.
Click to hide internal directories.