public interface MessageFormatter extends Configurable, Closeable
| Modifier and Type | Method and Description |
|---|---|
default void |
close()
Closes the formatter
|
default void |
configure(Map<String,?> configs)
Configures the MessageFormatter
|
void |
writeTo(ConsumerRecord<byte[],byte[]> consumerRecord,
PrintStream output)
Parses and formats a record for display
|
default void configure(Map<String,?> configs)
configure in interface Configurableconfigs - Map to configure the formattervoid writeTo(ConsumerRecord<byte[],byte[]> consumerRecord, PrintStream output)
consumerRecord - the record to formatoutput - the print stream used to output the recorddefault void close()
close in interface AutoCloseableclose in interface Closeable