Skip to content

SeaweedFS is a distributed storage system for object storage (S3), file systems, Iceberg table buckets, and Lance vector buckets, designed to handle billions of files with O(1) disk access and effortless horizontal scaling.

227 B
Raw Blame
package topic

import "fmt"

type TopicPartition struct {
	Topic
	Partition
}

func (tp *TopicPartition) TopicPartitionId() string {
	return fmt.Sprintf("%v.%v-%04d-%04d", tp.Namespace, tp.Topic, tp.RangeStart, tp.RangeStop)
}