Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for queueLimit (0.35 sec)

  1. internal/config/notify/parse.go

    			Enable:             enabled,
    			Brokers:            brokers,
    			Topic:              env.Get(topicEnv, kv.Get(target.KafkaTopic)),
    			QueueDir:           env.Get(queueDirEnv, kv.Get(target.KafkaQueueDir)),
    			QueueLimit:         queueLimit,
    			Version:            env.Get(versionEnv, kv.Get(target.KafkaVersion)),
    			BatchSize:          uint32(batchSize),
    			BatchCommitTimeout: batchCommitTimeout,
    		}
    
    		tlsEnableEnv := target.EnvKafkaTLS
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 47.5K bytes
    - Viewed (0)
  2. internal/config/notify/legacy.go

    			Value: cfg.TLS.ClientTLSCert,
    		},
    		config.KV{
    			Key:   target.KafkaClientTLSKey,
    			Value: cfg.TLS.ClientTLSKey,
    		},
    		config.KV{
    			Key:   target.KafkaQueueLimit,
    			Value: strconv.Itoa(int(cfg.QueueLimit)),
    		},
    		config.KV{
    			Key:   target.KafkaTLS,
    			Value: config.FormatBool(cfg.TLS.Enable),
    		},
    		config.KV{
    			Key:   target.KafkaTLSSkipVerify,
    			Value: config.FormatBool(cfg.TLS.SkipVerify),
    		},
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Apr 27 04:30:57 UTC 2025
    - 13.3K bytes
    - Viewed (0)
  3. internal/event/target/nsq.go

    	Topic       string    `json:"topic"`
    	TLS         struct {
    		Enable     bool `json:"enable"`
    		SkipVerify bool `json:"skipVerify"`
    	} `json:"tls"`
    	QueueDir   string `json:"queueDir"`
    	QueueLimit uint64 `json:"queueLimit"`
    }
    
    // Validate NSQArgs fields
    func (n NSQArgs) Validate() error {
    	if !n.Enable {
    		return nil
    	}
    
    	if n.NSQDAddress.IsEmpty() {
    		return errors.New("empty nsqdAddress")
    	}
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Mar 30 00:56:02 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  4. samples/crawler/src/main/java/okhttp3/sample/Crawler.java

      private final ConcurrentHashMap<String, AtomicInteger> hostnames = new ConcurrentHashMap<>();
      private final int hostLimit;
    
      public Crawler(OkHttpClient client, int queueLimit, int hostLimit) {
        this.client = client;
        this.queue = new LinkedBlockingQueue<>(queueLimit);
        this.hostLimit = hostLimit;
      }
    
      private void parallelDrainQueue(int threadCount) {
        ExecutorService executor = Executors.newFixedThreadPool(threadCount);
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Jul 23 00:58:06 UTC 2025
    - 5K bytes
    - Viewed (0)
  5. internal/event/target/redis.go

    	Addr       xnet.Host `json:"address"`
    	Password   string    `json:"password"`
    	User       string    `json:"user"`
    	Key        string    `json:"key"`
    	QueueDir   string    `json:"queueDir"`
    	QueueLimit uint64    `json:"queueLimit"`
    }
    
    // RedisAccessEvent holds event log data and timestamp
    type RedisAccessEvent struct {
    	Event     []event.Event
    	EventTime string
    }
    
    // Validate RedisArgs fields
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Mar 30 00:56:02 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  6. internal/event/target/postgresql.go

    	Password           string    `json:"password"` // default: no password
    	Database           string    `json:"database"` // default: same as user
    	QueueDir           string    `json:"queueDir"`
    	QueueLimit         uint64    `json:"queueLimit"`
    	MaxOpenConnections int       `json:"maxOpenConnections"`
    }
    
    // Validate PostgreSQLArgs fields
    func (p PostgreSQLArgs) Validate() error {
    	if !p.Enable {
    		return nil
    	}
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Mar 30 00:56:02 UTC 2025
    - 13.3K bytes
    - Viewed (0)
  7. internal/event/target/amqp.go

    	PublisherConfirms bool        `json:"publisherConfirms"`
    	QueueDir          string      `json:"queueDir"`
    	QueueLimit        uint64      `json:"queueLimit"`
    }
    
    // AMQP input constants.
    //
    // ST1003 We cannot change these exported names.
    //
    //nolint:staticcheck
    const (
    	AmqpQueueDir   = "queue_dir"
    	AmqpQueueLimit = "queue_limit"
    
    	AmqpURL               = "url"
    	AmqpExchange          = "exchange"
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Thu Aug 21 04:25:07 UTC 2025
    - 10K bytes
    - Viewed (0)
  8. internal/event/target/elasticsearch.go

    	Format     string          `json:"format"`
    	URL        xnet.URL        `json:"url"`
    	Index      string          `json:"index"`
    	QueueDir   string          `json:"queueDir"`
    	QueueLimit uint64          `json:"queueLimit"`
    	Transport  *http.Transport `json:"-"`
    	Username   string          `json:"username"`
    	Password   string          `json:"password"`
    }
    
    // Validate ElasticsearchArgs fields
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Sep 28 20:59:21 UTC 2025
    - 15K bytes
    - Viewed (0)
  9. internal/event/target/mysql.go

    	User               string   `json:"user"`
    	Password           string   `json:"password"`
    	Database           string   `json:"database"`
    	QueueDir           string   `json:"queueDir"`
    	QueueLimit         uint64   `json:"queueLimit"`
    	MaxOpenConnections int      `json:"maxOpenConnections"`
    }
    
    // Validate MySQLArgs fields
    func (m MySQLArgs) Validate() error {
    	if !m.Enable {
    		return nil
    	}
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Mar 30 00:56:02 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  10. internal/event/target/nats.go

    	ClientCert        string    `json:"clientCert"`
    	ClientKey         string    `json:"clientKey"`
    	PingInterval      int64     `json:"pingInterval"`
    	QueueDir          string    `json:"queueDir"`
    	QueueLimit        uint64    `json:"queueLimit"`
    	JetStream         struct {
    		Enable bool `json:"enable"`
    	} `json:"jetStream"`
    	Streaming struct {
    		Enable             bool   `json:"enable"`
    		ClusterID          string `json:"clusterID"`
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Apr 27 04:30:57 UTC 2025
    - 13.5K bytes
    - Viewed (0)
Back to top