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

Remove deprecate `TransactionLogMessageFormatter`, GroupMetadataMessageFormatter` and `OffsetsMessageFormatter`

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 4.0.0
    • 5.0.0
    • core
    • None

    Description

      In KAFKA-16666

      we already migrate `GroupMetadataMessageFormatter`[0], `OffsetsMessageFormatter`[1], and `TransactionLogMessageFormatter`[2] , and deprecate for these formatters, thus at the next major version, we should remove it. 
      Also we should remove ConsoleConsumerOptions#convertDeprecatedClass[3] switch case statement, and ConsoleConsumerOptionsTest#testNewAndDeprecateTransactionLogMessageFormatter[4]
      testNewAndDeprecateOffsetsMessageFormatter, testNewAndDeprecateGroupMetadataMessageFormatter
      [0] https://github.com/apache/kafka/blob/trunk/core/src/main/scala/kafka/coordinator/group/GroupMetadataManager.scala#L1261

      [1]
      https://github.com/apache/kafka/blob/trunk/core/src/main/scala/kafka/coordinator/group/GroupMetadataManager.scala#L1239

      [2] https://github.com/apache/kafka/blob/trunk/core/src/main/scala/kafka/coordinator/transaction/TransactionLog.scala#L150

      [3] https://github.com/apache/kafka/blob/trunk/tools/src/main/java/org/apache/kafka/tools/consumer/ConsoleConsumerOptions.java#L353
      [4]
      https://github.com/apache/kafka/blob/trunk/tools/src/test/java/org/apache/kafka/tools/consumer/ConsoleConsumerOptionsTest.java#L664

       

      Attachments

        Activity

          People

            m1a2st 黃竣陽
            m1a2st 黃竣陽
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: