github.com/nsqio/nsq@v1.3.0/nsqd/dqname.go (about)

     1  //go:build !windows
     2  // +build !windows
     3  
     4  package nsqd
     5  
     6  func getBackendName(topicName, channelName string) string {
     7  	// backend names, for uniqueness, automatically include the topic... <topic>:<channel>
     8  	backendName := topicName + ":" + channelName
     9  	return backendName
    10  }