blob: 20b33a7e4b0213a68de2194eb65f9cea19dfd9e3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
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)
}
|