Skip to content

RecordFormatter

Creating Instance

RecordFormatter takes the following to be created:

  • SchemaRegistryClient
  • Topic Name

RecordFormatter is created when:

  • PrintPublisher is requested to subscribe (to create a PrintSubscription)
  • TopicStreamWriter is requested to write (to create a PrintSubscription)

format

List<String> format(
  Iterable<ConsumerRecord<Bytes, Bytes>> records)

format...FIXME


format is used when:

  • PrintSubscription is requested to poll
  • TopicStreamWriter is requested to write