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.
Go blob-storagecloud-drivedistributed-file-systemdistributed-storageerasure-codingfusehadoop-hdfshdfskuberneteslancelancedbobject-storageposixs3s3-storageseaweedfstiered-file-systemvector-search
chore(weed/mq/kafka/schema): remove unused functions (#9088)
Lars Lehtonend292d3640d43
diff --git a/weed/mq/kafka/schema/avro_decoder.go b/weed/mq/kafka/schema/avro_decoder.goindex f40236a818..964d3479bd 100644--- a/weed/mq/kafka/schema/avro_decoder.go+++ b/weed/mq/kafka/schema/avro_decoder.go@@ -431,12 +431,6 @@ func convertAvroSimpleType(avroType string) (*schema_pb.Type, error) {}}-// convertAvroComplexType converts complex Avro types to SeaweedMQ types-func convertAvroComplexType(avroType map[string]interface{}) (*schema_pb.Type, error) {- fieldType, _, err := convertAvroComplexTypeWithRepeated(avroType)- return fieldType, err-}-// convertAvroComplexTypeWithRepeated converts complex Avro types to SeaweedMQ types and returns if it's repeatedfunc convertAvroComplexTypeWithRepeated(avroType map[string]interface{}) (*schema_pb.Type, bool, error) {typeStr, ok := avroType["type"].(string)diff --git a/weed/mq/kafka/schema/manager.go b/weed/mq/kafka/schema/manager.goindex 7006b0322c..978469bc8c 100644--- a/weed/mq/kafka/schema/manager.go+++ b/weed/mq/kafka/schema/manager.go@@ -641,11 +641,6 @@ func recordValueToMapWithAvroContext(recordValue *schema_pb.RecordValue, preservreturn result}-// schemaValueToGoValue converts a schema Value back to a Go value-func schemaValueToGoValue(value *schema_pb.Value) interface{} {- return schemaValueToGoValueWithAvroContext(value, false)-}-// schemaValueToGoValueWithAvroContext converts a schema Value back to a Go value// with optional Avro union format preservationfunc schemaValueToGoValueWithAvroContext(value *schema_pb.Value, preserveAvroUnions bool) interface{} {