HTTPOutput plugin manage pool of workers which send request to replayed server By default workers pool is dynamic and starts with 1 worker or workerMin workers You can specify maximum number of workers using `--output-http-workers`
| 52 | // By default workers pool is dynamic and starts with 1 worker or workerMin workers |
| 53 | // You can specify maximum number of workers using `--output-http-workers` |
| 54 | type HTTPOutput struct { |
| 55 | activeWorkers int32 |
| 56 | config *HTTPOutputConfig |
| 57 | queueStats *GorStat |
| 58 | elasticSearch *ESPlugin |
| 59 | client *HTTPClient |
| 60 | stopWorker chan struct{} |
| 61 | queue chan *Message |
| 62 | responses chan *response |
| 63 | stop chan bool // Channel used only to indicate goroutine should shutdown |
| 64 | } |
| 65 | |
| 66 | // NewHTTPOutput constructor for HTTPOutput |
| 67 | // Initialize workers |
nothing calls this directly
no outgoing calls
no test coverage detected