Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for type (0.14 sec)

  1. internal/event/target/kafka.go

    	"gzip":   sarama.CompressionGZIP,
    	"snappy": sarama.CompressionSnappy,
    	"lz4":    sarama.CompressionLZ4,
    	"zstd":   sarama.CompressionZSTD,
    }
    
    // KafkaArgs - Kafka target arguments.
    type KafkaArgs struct {
    	Enable     bool        `json:"enable"`
    	Brokers    []xnet.Host `json:"brokers"`
    	Topic      string      `json:"topic"`
    	QueueDir   string      `json:"queueDir"`
    	QueueLimit uint64      `json:"queueLimit"`
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Feb 20 08:16:35 GMT 2024
    - 13K bytes
    - Viewed (0)
  2. internal/logger/target/kafka/kafka.go

    	target := &Target{
    		logCh:   make(chan interface{}, config.QueueSize),
    		kconfig: config,
    		status:  statusOffline,
    	}
    	return target
    }
    
    // Type - returns type of the target
    func (h *Target) Type() types.TargetType {
    	return types.TargetKafka
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 10.1K bytes
    - Viewed (1)
Back to top