Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for uint64_t (0.18 sec)

  1. internal/event/target/kafka.go

    type KafkaArgs struct {
    	Enable     bool        `json:"enable"`
    	Brokers    []xnet.Host `json:"brokers"`
    	Topic      string      `json:"topic"`
    	QueueDir   string      `json:"queueDir"`
    	QueueLimit uint64      `json:"queueLimit"`
    	Version    string      `json:"version"`
    	BatchSize  uint32      `json:"batchSize"`
    	TLS        struct {
    		Enable        bool               `json:"enable"`
    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

    func (h *Target) initQueueStore(ctx context.Context) (err error) {
    	var queueStore store.Store[interface{}]
    	queueDir := filepath.Join(h.kconfig.QueueDir, h.Name())
    	queueStore = store.NewQueueStore[interface{}](queueDir, uint64(h.kconfig.QueueSize), kafkaLoggerExtension)
    	if err = queueStore.Open(); err != nil {
    		return fmt.Errorf("unable to initialize the queue store of %s webhook: %w", h.Name(), err)
    	}
    	ctx, cancel := context.WithCancel(ctx)
    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