Imports github.com/elastic/beats/libbeat/publisher/queue github.com/stretchr/testify/assert github.com/elastic/beats/libbeat/beat github.com/elastic/beats/libbeat/common github.com/elastic/beats/libbeat/logp github.com/elastic/beats/libbeat/publisher Standard library imports bufio flag fmt os sync testing time