1
0
Fork 0
mirror of https://github.com/chrislusf/seaweedfs synced 2024-06-29 05:41:02 +02:00
seaweedfs/weed/mq/topic/topic_partition.go
2023-10-02 01:01:45 -07:00

13 lines
217 B
Go

package topic
import "fmt"
type TopicPartition struct {
Topic
Partition
}
func (tp *TopicPartition) String() string {
return fmt.Sprintf("%v.%v-%04d-%04d", tp.Namespace, tp.Topic, tp.RangeStart, tp.RangeStop)
}