Skip to content

Commit 650bd05

Browse files
update broker to work with sync network
1 parent 2d645ba commit 650bd05

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

resources/templates/default/http2k_config.json.erb

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"listeners":[
33
{"proto":"http", "port": <%= @port %>, "num_threads":<%= [ node["cpu"]["total"].to_i - 1, 1].max %>, "mode":"epoll", "redborder_uri":true, "decode_as":"rb_http2k", "connection_memory_limit": 131072, "connection_timeout": 60, "per_ip_connection_limit": 0, "connection_limit": <%= ( [ node["cpu"]["total"].to_i - 1, 1].max*512 ) %>}
44
],
5-
"brokers":"<%= @kafka_hosts.first(5).map { |x| "#{x}" }.join(",") %>",
5+
"brokers":"<%= @kafka_hosts.first(5).map { |x| "#{x}" }.join(",") %>.node",
66
"n2kafka_id": "http2k",
77
"rdkafka.socket.max.fails":"3",
88
"rdkafka.socket.keepalive.enable":"true",

0 commit comments

Comments
 (0)