Closed repeatedly closed 4 years ago
Are there any reasons you decided to use ENV var? ServerEngine usually receives such option as actual argument like https://github.com/treasure-data/serverengine#list-of-all-configurations
By adding option, we need to modify fluentd for new options. Adding option is easy but remove is hard. envvar is easy for testing.
We got a balancing issue, incoming data is routed to one worker, from user. I'm not sure this change fixes the problem, but they want to test REUSEPORT option. For test, add
SERVERENGINE_USE_SOCKET_REUSEPORT
envvar to enable it.