Documentation ¶ Index ¶ func EnsureTopics(client sarama.Client, topics Topics) error func NewSchemaRegistry(kafkaClient sarama.Client, topic string, replicationFactor int16) (schema.Registry, error) type Topic type Topics type TopicsFunc Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func EnsureTopics ¶ func EnsureTopics(client sarama.Client, topics Topics) error func NewSchemaRegistry ¶ func NewSchemaRegistry(kafkaClient sarama.Client, topic string, replicationFactor int16) (schema.Registry, error) Types ¶ type Topic ¶ type Topic struct { Name string NumPartitions int32 ReplicationFactor int16 Config map[string]*string } type Topics ¶ type Topics []Topic type TopicsFunc ¶ type TopicsFunc func(replicationFactor int16) Topics Source Files ¶ View all Source files registry.go topics.go Click to show internal directories. Click to hide internal directories.