Documentation ¶
Index ¶
- func GetTLSConfig(trustStorePath string) (*tls.Config, error)
- type KafkaAuthCredentials
- type KafkaStorage
- func (ks *KafkaStorage) Close() error
- func (ks *KafkaStorage) GetMessages(_ uint64) ([]storage.Message, error)
- func (ks *KafkaStorage) IgnoreMessages(messages []string, useOffset bool) error
- func (ks *KafkaStorage) Send(messages ...storage.Message) error
- func (ks *KafkaStorage) SetConsumerGroup(cg string) error
- func (ks *KafkaStorage) UnignoreMessages()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type KafkaAuthCredentials ¶
type KafkaStorage ¶
type KafkaStorage struct {
// contains filtered or unexported fields
}
func NewKafkaStorage ¶
func NewKafkaStorage(cfg *config.KafkaStorageConfig) (*KafkaStorage, error)
func (*KafkaStorage) Close ¶
func (ks *KafkaStorage) Close() error
func (*KafkaStorage) GetMessages ¶
func (ks *KafkaStorage) GetMessages(_ uint64) ([]storage.Message, error)
func (*KafkaStorage) IgnoreMessages ¶
func (ks *KafkaStorage) IgnoreMessages(messages []string, useOffset bool) error
func (*KafkaStorage) SetConsumerGroup ¶
func (ks *KafkaStorage) SetConsumerGroup(cg string) error
func (*KafkaStorage) UnignoreMessages ¶
func (ks *KafkaStorage) UnignoreMessages()
Click to show internal directories.
Click to hide internal directories.