You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
75 lines
2.6 KiB
75 lines
2.6 KiB
<file name="nsqd.cfg"> |
|
## |
|
## nsqd.cfg |
|
## |
|
|
|
#id = 5150 |
|
verbose = false |
|
tcp_address = "127.0.0.1:4150" |
|
http_address = "127.0.0.1:4151" |
|
#https_address = "127.0.0.1:4152" |
|
#broadcast_address = "" |
|
nsqlookupd_tcp_addresses = [ "127.0.0.1:4160" ] |
|
http_client_connect_timeout = "2s" |
|
http_client_request_timeout = "5s" |
|
data_path = "@l_prefix@/var/nsq/data" |
|
mem_queue_size = 10000 |
|
max_bytes_per_file = 104857600 |
|
sync_every = 2500 |
|
sync_timeout = "2s" |
|
msg_timeout = "60s" |
|
max_msg_timeout = "15m" |
|
max_msg_size = 1024768 |
|
max_req_timeout = "1h" |
|
max_body_size = 5123840 |
|
max_heartbeat_interval = "60s" |
|
max_rdy_count = 2500 |
|
max_output_buffer_size = 65536 |
|
max_output_buffer_timeout = "1s" |
|
#statsd_address = "127.0.0.1:8125" |
|
statsd_prefix = "nsq.%s" |
|
statsd_interval = "60s" |
|
statsd_mem_stats = true |
|
e2e_processing_latency_percentiles = [ 100.0, 99.0, 95.0 ] |
|
e2e_processing_latency_window_time = "10m" |
|
tls_cert = "" |
|
tls_key = "" |
|
#tls_client_auth_policy = "require-verify" |
|
#tls_root_ca_file = "" |
|
tls_required = false |
|
tls_min_version = "tls1.1" |
|
deflate = true |
|
max_deflate_level = 6 |
|
snappy = true |
|
|
|
</file> |
|
<file name="nsqlookupd.cfg"> |
|
## |
|
## nsqlookupd.cfg |
|
## |
|
|
|
verbose = false |
|
tcp_address = "127.0.0.1:4160" |
|
http_address = "127.0.0.1:4161" |
|
#broadcast_address = "" |
|
inactive_producer_timeout = "300s" |
|
tombstone_lifetime = "45s" |
|
|
|
</file> |
|
<file name="nsqadmin.cfg"> |
|
## |
|
## nsqadmin.cfg |
|
## |
|
|
|
http_address = "127.0.0.1:4171" |
|
nsqlookupd_http_addresses = [ "127.0.0.1:4161" ] |
|
#nsqd_http_addresses = [ "127.0.0.1:4151" ] |
|
graphite_url = "" |
|
proxy_graphite = false |
|
statsd_prefix = "nsq.%s" |
|
statsd_counter_format = "stats.counters.%s.count" |
|
statsd_gauge_format = "stats.gauges.%s" |
|
statsd_interval = "60s" |
|
notification_http_endpoint = "" |
|
|
|
</file>
|
|
|