You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "黃竣陽 (Jira)" <ji...@apache.org> on 2024/08/06 15:58:00 UTC
[jira] [Created] (KAFKA-17274) Remove deprecate `TransactionLogMessageFormatter`, GroupMetadataMessageFormatter` and `OffsetsMessageFormatter`
黃竣陽 created KAFKA-17274:
---------------------------
Summary: Remove deprecate `TransactionLogMessageFormatter`, GroupMetadataMessageFormatter` and `OffsetsMessageFormatter`
Key: KAFKA-17274
URL: https://issues.apache.org/jira/browse/KAFKA-17274
Project: Kafka
Issue Type: Improvement
Components: core
Affects Versions: 4.0.0
Reporter: 黃竣陽
Assignee: 黃竣陽
In [KAFKA-16666|[http://example.com]https://issues.apache.org/jira/browse/KAFKA-16666]|http://example.com]https://issues.apache.org/jira/browse/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#L1269|https://github.com/apache/kafka/blob/376e9e20dbf7c7aeb6f6f666d47932c445eb6bd1/core/src/main/scala/kafka/coordinator/group/GroupMetadataManager.scala#L1269]
[1] [https://github.com/apache/kafka/blob/trunk/core/src/main/scala/kafka/coordinator/group/GroupMetadataManager.scala#L1248|https://github.com/apache/kafka/blob/376e9e20dbf7c7aeb6f6f666d47932c445eb6bd1/core/src/main/scala/kafka/coordinator/group/GroupMetadataManager.scala#L1248]
[2] [https://github.com/apache/kafka/blob/trunk/core/src/main/scala/kafka/coordinator/transaction/TransactionLog.scala#L145|https://github.com/apache/kafka/blob/9b8aac22ec7ce927a2ceb2bfe7afd57419ee946c/core/src/main/scala/kafka/coordinator/transaction/TransactionLog.scala#L145]
[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]
--
This message was sent by Atlassian Jira
(v8.20.10#820010)