Hi Ismael, Thanks for your quick answer. For example, I've seen the org.apache.kafka.clients.consumer.Consumer#poll(long) deprecated in KIP-266 (Kafka 2.0.0) and in the same class methods org.apache.kafka.clients.consumer.Consumer#committed(org.apache.kafka.common.TopicPartition) and org.apache.kafka.clients.consumer.Consumer#committed(org.apache.kafka.common.TopicPartition, java.time.Duration) deprecated in https://issues.apache.org/jira/browse/KAFKA-8880 (Kafka 2.4.0). Also org.apache.kafka.clients.admin.Admin#alterConfigs(java.util.Map<org.apache.kafka.common.config.ConfigResource,org.apache.kafka.clients.admin.Config>) and org.apache.kafka.clients.admin.Admin#alterConfigs(java.util.Map<org.apache.kafka.common.config.ConfigResource,org.apache.kafka.clients.admin.Config>, org.apache.kafka.clients.admin.AlterConfigsOptions) both deprecated in Kafka 2.3.
>From the quick check I did, those methods in those 2 classes could be removed as they are deprecated for long enough and both have alternative methods available. There are probably some more methods that could be removed, also in other modules, but before spending too much time on something that might not be relevant, I decided to start this thread. Best, Josep On Wed, Jun 2, 2021 at 9:00 PM Ismael Juma <ism...@juma.me.uk> wrote: > Hi Josep, > > We have removed nearly all of the apis we plan to remove for 3.0. The > following JIRA is still in progress: > > https://issues.apache.org/jira/browse/KAFKA-12588 > > Aside from KAFKA-12588, which APIs were you thinking of that could be > removed in 3.0? > > Ismael > > On Wed, Jun 2, 2021 at 11:52 AM Josep Prat <josep.p...@aiven.io.invalid> > wrote: > > > Hi there, > > I was looking at the source code and I realized that there are several > > deprecated methods for long enough (2.5 or prior) that are not yet > removed. > > Given that it has already been done for Kafka Streams, does it make sense > > if I would go through the other modules and create Jira tickets for the > > deprecated APIs susceptible to be removed? > > > > Best, > > > > -- > > > > Josep Prat > > > > *Aiven Deutschland GmbH* > > > > Immanuelkirchstraße 26, 10405 Berlin > > > > Amtsgericht Charlottenburg, HRB 209739 B > > > > Geschäftsführer: Oskari Saarenmaa & Hannu Valtonen > > > > *m:* +491715557497 > > > > *w:* aiven.io > > > > *e:* josep.p...@aiven.io > > > -- Josep Prat *Aiven Deutschland GmbH* Immanuelkirchstraße 26, 10405 Berlin Amtsgericht Charlottenburg, HRB 209739 B Geschäftsführer: Oskari Saarenmaa & Hannu Valtonen *m:* +491715557497 *w:* aiven.io *e:* josep.p...@aiven.io