| Interface and Description | 
|---|
| org.apache.kafka.common.serialization.ExtendedDeserializer
 This class has been deprecated and will be removed in a future release. Please use  
Deserializer instead. | 
| org.apache.kafka.common.serialization.ExtendedSerializer
 This class has been deprecated and will be removed in a future release. Please use  
Serializer instead. | 
| org.apache.kafka.streams.processor.PartitionGrouper
 since 2.4 release; will be removed in 3.0.0 via KAFKA-7785 
 | 
| org.apache.kafka.common.security.auth.PrincipalBuilder
 As of Kafka 1.0.0, use  
KafkaPrincipalBuilder instead. This will be removed in
             a future major release. | 
| Class and Description | 
|---|
| org.apache.kafka.streams.test.ConsumerRecordFactory
 Since 2.4 use methods of  
TestInputTopic instead | 
| org.apache.kafka.streams.processor.DefaultPartitionGrouper
 since 2.4 release; will be removed in 3.0.0 via KAFKA-7785 
 | 
| org.apache.kafka.common.security.auth.DefaultPrincipalBuilder
 As of Kafka 1.0.0. This will be removed in a future major release. 
 | 
| org.apache.kafka.clients.admin.ElectPreferredLeadersOptions
 Since 2.4.0. Use  
Admin.electLeaders(ElectionType, Set, ElectLeadersOptions). | 
| org.apache.kafka.clients.admin.ElectPreferredLeadersResult
 Since 2.4.0. Use  
Admin.electLeaders(ElectionType, Set, ElectLeadersOptions). | 
| org.apache.kafka.streams.test.OutputVerifier
 Since 2.4 use methods of  
TestOutputTopic and standard assertion libraries instead | 
| org.apache.kafka.streams.kstream.Serialized
 since 2.1. Use  
Grouped instead | 
| org.apache.kafka.streams.processor.UsePreviousTimeOnInvalidTimestamp
 since 2.5. Use  
UsePartitionTimeOnInvalidTimestamp instead | 
| Exceptions and Description | 
|---|
| org.apache.kafka.common.errors.NotLeaderForPartitionException
 since 2.6. Use  
NotLeaderOrFollowerException. |