This commit is contained in:
chrislu
2022-07-01 22:44:28 -07:00
parent 5536ed85e5
commit ffc2c0a2ef
4 changed files with 17 additions and 17 deletions

View File

@@ -36,10 +36,10 @@ type TopicControl struct {
type TopicManager struct {
sync.Mutex
topicControls map[TopicPartition]*TopicControl
broker *MessageBroker
broker *MessageQueueBroker
}
func NewTopicManager(messageBroker *MessageBroker) *TopicManager {
func NewTopicManager(messageBroker *MessageQueueBroker) *TopicManager {
return &TopicManager{
topicControls: make(map[TopicPartition]*TopicControl),
broker: messageBroker,