github.com/Psiphon-Labs/goarista@v0.0.0-20160825065156-d002785f4c67/kafka/metadata.go (about) 1 // Copyright (C) 2016 Arista Networks, Inc. 2 // Use of this source code is governed by the Apache License 2.0 3 // that can be found in the COPYING file. 4 5 package kafka 6 7 import ( 8 "time" 9 ) 10 11 // Metadata is used to store metadata for the sarama.ProducerMessages 12 type Metadata struct { 13 StartTime time.Time 14 NumMessages int 15 }