Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-3273

MessageFormatter and MessageReader interfaces should be resilient to changes

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.10.0.0
    • Component/s: tools
    • Labels:
      None

      Description

      They should use `ConsumerRecord` and `ProducerRecord` as parameters and return types respectively in order to avoid breaking users each time a new parameter is added.

      An additional question is whether we need to maintain compatibility with previous releases. Jun Rao suggested that we do not, but Ewen Cheslack-Postava thought we should.

      Note that the KIP-31/32 change has broken compatibility for `MessageFormatter` so we need to do something for the next release.

        Attachments

          Activity

            People

            • Assignee:
              ijuma Ismael Juma
              Reporter:
              ijuma Ismael Juma
              Reviewer:
              Jun Rao
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: