Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 5 of 5 for CompressionLevel (0.18 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. internal/event/target/kafka.go

    		Password  string `json:"password"`
    		Mechanism string `json:"mechanism"`
    	} `json:"sasl"`
    	Producer struct {
    		Compression      string `json:"compression"`
    		CompressionLevel int    `json:"compressionLevel"`
    	} `json:"producer"`
    }
    
    // Validate KafkaArgs fields
    func (k KafkaArgs) Validate() error {
    	if !k.Enable {
    		return nil
    	}
    	if len(k.Brokers) == 0 {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Sep 06 23:06:30 GMT 2024
    - 13.6K bytes
    - Click Count (0)
  2. api/go1.4.txt

    pkg image/png, const BestCompression = -3
    pkg image/png, const BestCompression CompressionLevel
    pkg image/png, const BestSpeed = -2
    pkg image/png, const BestSpeed CompressionLevel
    pkg image/png, const DefaultCompression = 0
    pkg image/png, const DefaultCompression CompressionLevel
    pkg image/png, const NoCompression = -1
    pkg image/png, const NoCompression CompressionLevel
    pkg image/png, method (*Encoder) Encode(io.Writer, image.Image) error
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Fri Dec 12 03:01:01 GMT 2014
    - 34K bytes
    - Click Count (0)
  3. internal/config/notify/parse.go

    		if k != config.Default {
    			compressionLevelEnv = compressionLevelEnv + config.Default + k
    		}
    		compressionLevel, _ := strconv.Atoi(env.Get(compressionLevelEnv, kv.Get(target.KafkaCompressionLevel)))
    		kafkaArgs.Producer.CompressionLevel = compressionLevel
    
    		saslEnableEnv := target.EnvKafkaSASLEnable
    		if k != config.Default {
    			saslEnableEnv = saslEnableEnv + config.Default + k
    		}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 47.5K bytes
    - Click Count (0)
  4. cmd/admin-router.go

    	adminAPIClientDevExtraTime     = "/speedtest/client/devnull/extratime"
    )
    
    var gzipHandler = func() func(http.Handler) http.HandlerFunc {
    	gz, err := gzhttp.NewWrapper(gzhttp.MinSize(1000), gzhttp.CompressionLevel(gzip.BestSpeed))
    	if err != nil {
    		// Static params, so this is very unlikely.
    		logger.Fatal(err, "Unable to initialize server")
    	}
    	return gz
    }()
    
    // Set of handler options as bit flags
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Oct 10 18:57:03 GMT 2025
    - 26.7K bytes
    - Click Count (0)
  5. internal/config/notify/legacy.go

    		},
    		config.KV{
    			Key:   target.KafkaCompressionCodec,
    			Value: cfg.Producer.Compression,
    		},
    		config.KV{
    			Key:   target.KafkaCompressionLevel,
    			Value: strconv.Itoa(cfg.Producer.CompressionLevel),
    		},
    	}
    	return nil
    }
    
    // SetNotifyAMQP - helper for config migration from older config.
    func SetNotifyAMQP(s config.Config, amqpName string, cfg target.AMQPArgs) error {
    	if !cfg.Enable {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Apr 27 04:30:57 GMT 2025
    - 13.3K bytes
    - Click Count (0)
Back to Top