Package org.apache.kafka.tools.api
package org.apache.kafka.tools.api
Provides interfaces for writing plugins of kafka tools
-
ClassDescriptionDecoder<T>A decoder is a method of turning byte arrays into objects.The default implementation does nothing, just returns the same byte array it takes in.The integer decoder translates bytes into integers.The long decoder translates bytes into longs.Typical implementations of this interface convert data from an `InputStream` received via `readRecords` into a iterator of `ProducerRecord` instance.The string decoder translates bytes into strings.