tsaikd / gogstash

Logstash like, written in golang
MIT License
644 stars 106 forks source link

Add input redis blocking timeout option #48

Closed tengattack closed 6 years ago

tengattack commented 6 years ago

Sometimes, if we haven't data keep going into redis, and we want to restart gogstash gracefully by send SIGINT, it will blocked in BLPOP command instead of return error immediately.

So I want to make an option for the BLPOP blocking timeout in redis input.