Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StreamConsumer ¶
type StreamConsumer struct {
Id int
Environment *stream.Environment
Consumer *ha.ReliableConsumer
SuperConsumer *ha.ReliableSuperStreamConsumer
Topic string
Config config.Config
// contains filtered or unexported fields
}
func NewConsumer ¶
func (*StreamConsumer) Connect ¶
func (c *StreamConsumer) Connect()
func (*StreamConsumer) Start ¶
func (c *StreamConsumer) Start(consumerReady chan bool)
func (*StreamConsumer) Stop ¶
func (c *StreamConsumer) Stop(reason string)
type StreamPublisher ¶
type StreamPublisher struct {
Id int
Environment *stream.Environment
Producer *ha.ReliableProducer
SuperProducer *ha.ReliableSuperStreamProducer
Topic string
Config config.Config
// contains filtered or unexported fields
}
func NewPublisher ¶
func (*StreamPublisher) Connect ¶
func (p *StreamPublisher) Connect()
func (*StreamPublisher) Send ¶
func (p *StreamPublisher) Send(seq uint64)
func (*StreamPublisher) Start ¶
func (p *StreamPublisher) Start(publisherReady chan bool, startPublishing chan bool)
func (*StreamPublisher) StartPublishing ¶
func (p *StreamPublisher) StartPublishing() string
func (*StreamPublisher) Stop ¶
func (p *StreamPublisher) Stop(reason string)
Click to show internal directories.
Click to hide internal directories.