Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for initQueueStore (0.09 sec)

  1. internal/logger/target/kafka/kafka.go

    		return err
    	}
    	if h.kconfig.QueueDir != "" {
    		if err := h.initQueueStoreOnce.DoWithContext(ctx, h.initQueueStore); err != nil {
    			return err
    		}
    		return h.initKafkaOnce.Do(h.init)
    	}
    	if err := h.init(); err != nil {
    		return err
    	}
    	go h.startKafkaLogger()
    	return nil
    }
    
    func (h *Target) initQueueStore(ctx context.Context) (err error) {
    	queueDir := filepath.Join(h.kconfig.QueueDir, h.Name())
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 10.2K bytes
    - Viewed (0)
Back to top