Documentation
¶
Overview ¶
Package kafka contains repositories backed by Kafka.
Index ¶
Constants ¶
View Source
const MessageSchema = `` /* 310-byte string literal not displayed */
MessageSchema is represents an Avro serialized Message.
Variables ¶
This section is empty.
Functions ¶
func NewMessageRepository ¶
func NewMessageRepository(client *Client) (auth.MessageRepository, error)
NewMessageRepository returns a new implementation of auth.MessageRepository.
Types ¶
type Client ¶
Client contains a pair of Kafka reader and writers for every topic we are interested in.
type MessageRepository ¶
type MessageRepository struct {
// contains filtered or unexported fields
}
MessageRepository allows us to read and write to an OTP Kafka topic.
Click to show internal directories.
Click to hide internal directories.