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
error handling when kafka not ready
Chris Luab8511823383
diff --git a/weed/notification/kafka/kafka_queue.go b/weed/notification/kafka/kafka_queue.goindex f0e353f936..830709a514 100644--- a/weed/notification/kafka/kafka_queue.go+++ b/weed/notification/kafka/kafka_queue.go@@ -37,6 +37,9 @@ func (k *KafkaQueue) initialize(hosts []string, topic string) (err error) {config.Producer.Return.Successes = trueconfig.Producer.Return.Errors = truek.producer, err = sarama.NewAsyncProducer(hosts, config)+ if err != nil {+ return err+ }k.topic = topicgo k.handleSuccess()go k.handleError()