func (e *Event) GetHeader(key string) interface{} {
	return e.getHeadersAsMap()[key]
}
GetHeader returns the header by name as an interface{}
package kafka
import (
	"time"
	"github.com/Shopify/sarama"
	"github.com/nuclio/nuclio-sdk-go"
)
type Event struct {
	nuclio.AbstractEvent
	kafkaMessage *sarama.ConsumerMessage
}
func (e *Event) GetBody() []byte {
	return e.kafkaMessage.Value
}
func (e *Event) GetSize() int {
	return len(e.kafkaMessage.Value)
}
func (e *Event) GetShardID() int {
	return int(e.kafkaMessage.Partition)
}
func (e *Event) GetPath() string {
	return e.kafkaMessage.Topic
}
func (e *Event) GetTimestamp() time.Time {
	return e.kafkaMessage.Timestamp
}
func (e *Event) GetHeaders() map[string]interface{} {
	return e.getHeadersAsMap()
}