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

With transformations that mutate the topic-partition committing offsets should to refer to the original topic-partition

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • 0.10.2.0, 0.10.2.1, 0.11.0.0
    • 0.11.0.1, 1.0.0
    • connect
    • None

    Description

      When a chain of transformations (SMTs) that mutate a record's topic-partition is applied, then Connect is unable to map the transformed record to its original topic-partition. This affects committing offsets.

      Currently, in order to reproduce the issue one could use the TimestampRouter transformation with a sink connector such as the FileStreamSinkConnector.

      In this ticket we'll address the issue for connectors that don't manage/commit their offsets themselves. For the connectors that do such management, broader API changes are required to supply the connectors with the necessary information that will allow them to map a transformed record to the original.

      Attachments

        Issue Links

          Activity

            People

              kkonstantine Konstantine Karantasis
              kkonstantine Konstantine Karantasis
              Ewen Cheslack-Postava Ewen Cheslack-Postava
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: