Description

Encoder is a simple interface for any type that can be encoded as an array of bytes in order to be sent as the key or value of a Kafka message. Length() is provided as an optimization, and must return the same as len() on the result of Encode().

Encoder is referenced in 9 repositories

github.com/Shopify/sarama github.com/curzonj/kafka-http-go github.com/aristanetworks/goarista

...