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.

862 B
Raw Blame
package mq

// Extended attribute keys for SeaweedMQ file metadata
// These constants are used across different packages (broker, logstore, kafka, query)
const (
	// Timestamp range metadata
	ExtendedAttrTimestampMin = "ts_min" // 8-byte binary (BigEndian) minimum timestamp in nanoseconds
	ExtendedAttrTimestampMax = "ts_max" // 8-byte binary (BigEndian) maximum timestamp in nanoseconds

	// Offset range metadata for Kafka integration
	ExtendedAttrOffsetMin = "offset_min" // 8-byte binary (BigEndian) minimum Kafka offset
	ExtendedAttrOffsetMax = "offset_max" // 8-byte binary (BigEndian) maximum Kafka offset

	// Buffer tracking metadata
	ExtendedAttrBufferStart = "buffer_start" // 8-byte binary (BigEndian) buffer start index

	// Source file tracking for parquet deduplication
	ExtendedAttrSources = "sources" // JSON-encoded list of source log files
)