You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Matthias J. Sax (Jira)" <ji...@apache.org> on 2024/08/29 00:51:00 UTC
[jira] [Updated] (KAFKA-12829) Remove Deprecated methods can classes of old Processor API
[ https://issues.apache.org/jira/browse/KAFKA-12829?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Matthias J. Sax updated KAFKA-12829:
------------------------------------
Description:
The following methods were deprecated in version 2.7:
* org.apache.kafka.streams.Topology#addProcessor(java.lang.String, org.apache.kafka.streams.processor.ProcessorSupplier, java.lang.String...)
* org.apache.kafka.streams.Topology#addGlobalStore(org.apache.kafka.streams.state.StoreBuilder<?>, java.lang.String, org.apache.kafka.common.serialization.Deserializer<K>, org.apache.kafka.common.serialization.Deserializer<V>, java.lang.String, java.lang.String, org.apache.kafka.streams.processor.ProcessorSupplier<K,V>)
* org.apache.kafka.streams.Topology#addGlobalStore(org.apache.kafka.streams.state.StoreBuilder<?>, java.lang.String, org.apache.kafka.streams.processor.TimestampExtractor, org.apache.kafka.common.serialization.Deserializer<K>, org.apache.kafka.common.serialization.Deserializer<V>, java.lang.String, java.lang.String, org.apache.kafka.streams.processor.ProcessorSupplier<K,V>)
* org.apache.kafka.streams.StreamsBuilder#addGlobalStore(org.apache.kafka.streams.state.StoreBuilder<?>, java.lang.String, org.apache.kafka.streams.kstream.Consumed<K,V>, org.apache.kafka.streams.processor.ProcessorSupplier<K,V>)
* -org.apache.kafka.streams.processor.StateStore#init(org.apache.kafka.streams.processor.ProcessorContext, org.apache.kafka.streams.processor.StateStore)- DONE
* org.apache.kafka.streams.kstream.KStream.process (multiple, taking the old `ProcessorSupplier`)
* org.apache.kafka.streams.scala.KStream.process (multiple, taking the old `ProcessorSupplier`)
The following classes were deprecated:
* org.apache.kafka.streams.processor.\{Processor, ProcessorSupplier, ProcessorContext} (note: that `ProcessorContext` is also use by `Transformer` which was also deprecated in 3.3 and can be removed, too)
* Cf https://issues.apache.org/jira/browse/KAFKA-16339 – both tickets should be worked on together
Also cf related tickets:
* https://issues.apache.org/jira/browse/KAFKA-12832
* https://issues.apache.org/jira/browse/KAFKA-12833
See KAFKA-10605 and KIP-478.
was:
The following methods were deprecated in version 2.7:
* org.apache.kafka.streams.Topology#addProcessor(java.lang.String, org.apache.kafka.streams.processor.ProcessorSupplier, java.lang.String...)
* org.apache.kafka.streams.Topology#addGlobalStore(org.apache.kafka.streams.state.StoreBuilder<?>, java.lang.String, org.apache.kafka.common.serialization.Deserializer<K>, org.apache.kafka.common.serialization.Deserializer<V>, java.lang.String, java.lang.String, org.apache.kafka.streams.processor.ProcessorSupplier<K,V>)
* org.apache.kafka.streams.Topology#addGlobalStore(org.apache.kafka.streams.state.StoreBuilder<?>, java.lang.String, org.apache.kafka.streams.processor.TimestampExtractor, org.apache.kafka.common.serialization.Deserializer<K>, org.apache.kafka.common.serialization.Deserializer<V>, java.lang.String, java.lang.String, org.apache.kafka.streams.processor.ProcessorSupplier<K,V>)
* org.apache.kafka.streams.StreamsBuilder#addGlobalStore(org.apache.kafka.streams.state.StoreBuilder<?>, java.lang.String, org.apache.kafka.streams.kstream.Consumed<K,V>, org.apache.kafka.streams.processor.ProcessorSupplier<K,V>)
* org.apache.kafka.streams.processor.StateStore#init(org.apache.kafka.streams.processor.ProcessorContext, org.apache.kafka.streams.processor.StateStore)
* org.apache.kafka.streams.kstream.KStream.process (multiple, taking the old `ProcessorSupplier`)
* org.apache.kafka.streams.scala.KStream.process (multiple, taking the old `ProcessorSupplier`)
The following classes were deprecated:
* org.apache.kafka.streams.processor.\{Processor, ProcessorSupplier, ProcessorContext} (note: that `ProcessorContext` is also use by `Transformer` which was also deprecated in 3.3 and can be removed, too)
* Cf https://issues.apache.org/jira/browse/KAFKA-16339 – both tickets should be worked on together
Also cf related tickets:
* https://issues.apache.org/jira/browse/KAFKA-12832
* https://issues.apache.org/jira/browse/KAFKA-12833
See KAFKA-10605 and KIP-478.
> Remove Deprecated methods can classes of old Processor API
> ----------------------------------------------------------
>
> Key: KAFKA-12829
> URL: https://issues.apache.org/jira/browse/KAFKA-12829
> Project: Kafka
> Issue Type: Sub-task
> Components: streams
> Reporter: Josep Prat
> Assignee: Junyao Huang
> Priority: Blocker
> Fix For: 4.0.0
>
>
> The following methods were deprecated in version 2.7:
> * org.apache.kafka.streams.Topology#addProcessor(java.lang.String, org.apache.kafka.streams.processor.ProcessorSupplier, java.lang.String...)
> * org.apache.kafka.streams.Topology#addGlobalStore(org.apache.kafka.streams.state.StoreBuilder<?>, java.lang.String, org.apache.kafka.common.serialization.Deserializer<K>, org.apache.kafka.common.serialization.Deserializer<V>, java.lang.String, java.lang.String, org.apache.kafka.streams.processor.ProcessorSupplier<K,V>)
> * org.apache.kafka.streams.Topology#addGlobalStore(org.apache.kafka.streams.state.StoreBuilder<?>, java.lang.String, org.apache.kafka.streams.processor.TimestampExtractor, org.apache.kafka.common.serialization.Deserializer<K>, org.apache.kafka.common.serialization.Deserializer<V>, java.lang.String, java.lang.String, org.apache.kafka.streams.processor.ProcessorSupplier<K,V>)
> * org.apache.kafka.streams.StreamsBuilder#addGlobalStore(org.apache.kafka.streams.state.StoreBuilder<?>, java.lang.String, org.apache.kafka.streams.kstream.Consumed<K,V>, org.apache.kafka.streams.processor.ProcessorSupplier<K,V>)
> * -org.apache.kafka.streams.processor.StateStore#init(org.apache.kafka.streams.processor.ProcessorContext, org.apache.kafka.streams.processor.StateStore)- DONE
> * org.apache.kafka.streams.kstream.KStream.process (multiple, taking the old `ProcessorSupplier`)
> * org.apache.kafka.streams.scala.KStream.process (multiple, taking the old `ProcessorSupplier`)
> The following classes were deprecated:
> * org.apache.kafka.streams.processor.\{Processor, ProcessorSupplier, ProcessorContext} (note: that `ProcessorContext` is also use by `Transformer` which was also deprecated in 3.3 and can be removed, too)
> * Cf https://issues.apache.org/jira/browse/KAFKA-16339 – both tickets should be worked on together
> Also cf related tickets:
> * https://issues.apache.org/jira/browse/KAFKA-12832
> * https://issues.apache.org/jira/browse/KAFKA-12833
> See KAFKA-10605 and KIP-478.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)