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 | 
| default void | init(Properties props)Deprecated. 
 Use  configure(Map)instead, this method is for backward compatibility with the older Formatter interface | 
| void | writeTo(ConsumerRecord<byte[],byte[]> consumerRecord,
       PrintStream output)Parses and formats a record for display | 
@Deprecated default void init(Properties props)
configure(Map) instead, this method is for backward compatibility with the older Formatter interfaceprops - Properties to configure the formatterdefault 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