github.com/aristanetworks/goarista@v0.0.0-20240514173732-cca2755bbd44/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  }