Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for initKafka (0.05 sec)

  1. internal/event/target/kafka.go

    		}
    		target.producer.Close()
    		return target.client.Close()
    	}
    
    	return nil
    }
    
    func (target *KafkaTarget) init() error {
    	return target.initOnce.Do(target.initKafka)
    }
    
    func (target *KafkaTarget) initKafka() error {
    	if os.Getenv("_MINIO_KAFKA_DEBUG") != "" {
    		sarama.DebugLogger = log.Default()
    	}
    
    	args := target.args
    
    	config := sarama.NewConfig()
    	if args.Version != "" {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 13.6K bytes
    - Viewed (0)
Back to top