Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Topic ¶
type Topic struct {
// contains filtered or unexported fields
}
Topic provides kafka-topic management functions.
func NewWithClusterAdmin ¶
func NewWithClusterAdmin(admin sarama.ClusterAdmin) *Topic
NewWithClusterAdmin to create new Topic with already created ClusterAdmin
func (*Topic) CreateTopic ¶
CreateTopic creates a new Topic in Kafka
func (*Topic) DeleteTopic ¶
DeleteTopic deletes a Topic in Kafka
func (*Topic) GetAllTopics ¶
GetAllTopics fetches all topic names that are created in Kafka
Click to show internal directories.
Click to hide internal directories.