Imports github.com/Shopify/sarama github.com/grafana/globalconf github.com/grafana/metrictank/kafka github.com/grafana/metrictank/mdata github.com/grafana/metrictank/stats github.com/grafana/metrictank/util github.com/raintank/schema github.com/sirupsen/logrus Standard library imports bytes encoding/binary encoding/json flag fmt strconv strings sync time