You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Kuan Po Tseng (Jira)" <ji...@apache.org> on 2024/12/18 02:15:00 UTC

[jira] [Created] (KAFKA-18296) Remove deprecated KafkaBasedLog constructor

Kuan Po Tseng created KAFKA-18296:
-------------------------------------

             Summary: Remove deprecated KafkaBasedLog constructor
                 Key: KAFKA-18296
                 URL: https://issues.apache.org/jira/browse/KAFKA-18296
             Project: Kafka
          Issue Type: Improvement
            Reporter: Kuan Po Tseng
            Assignee: Kuan Po Tseng


{code:java}
    @Deprecated
    public KafkaBasedLog(String topic,
                         Map<String, Object> producerConfigs,
                         Map<String, Object> consumerConfigs,
                         Callback<ConsumerRecord<K, V>> consumedCallback,
                         Time time,
                         Runnable initializer) {
        this(topic, producerConfigs, consumerConfigs, () -> null, consumedCallback, time, initializer != null ? admin -> initializer.run() : null);
    } {code}
this constructor was deprecated in commit [https://github.com/apache/kafka/commit/982ea2f6a471c217c7400a725c9504d9d8348d02] (since 3.0.0)



--
This message was sent by Atlassian Jira
(v8.20.10#820010)