We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2d645ba commit 650bd05Copy full SHA for 650bd05
resources/templates/default/http2k_config.json.erb
@@ -2,7 +2,7 @@
2
"listeners":[
3
{"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 ) %>}
4
],
5
- "brokers":"<%= @kafka_hosts.first(5).map { |x| "#{x}" }.join(",") %>",
+ "brokers":"<%= @kafka_hosts.first(5).map { |x| "#{x}" }.join(",") %>.node",
6
"n2kafka_id": "http2k",
7
"rdkafka.socket.max.fails":"3",
8
"rdkafka.socket.keepalive.enable":"true",
0 commit comments