Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MessageStore ¶
type MessageStore struct {
// contains filtered or unexported fields
}
func NewMessageStore ¶ added in v0.9.0
func NewMessageStore(maxSize int) *MessageStore
NewMessageStore creates a new MessageStore with the given capacity. Exported for testing.
func (*MessageStore) Add ¶
func (m *MessageStore) Add(msg config.ProducedKafkaMessage)
func (*MessageStore) All ¶
func (m *MessageStore) All() []config.ProducedKafkaMessage
func (*MessageStore) Clear ¶
func (m *MessageStore) Clear()
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func (*Server) GetMessageStore ¶
func (s *Server) GetMessageStore() *MessageStore
func (*Server) StatusInfo ¶
Click to show internal directories.
Click to hide internal directories.