Deprecated API
Contents
- 
Terminally Deprecated ElementsElementDescriptionSince 4.1. Use
Admin.listConfigResources()instead.Since 4.1. UseAdmin.listConfigResources(Set, ListConfigResourcesOptions)instead.Since 4.1. UseAdmin.listGroups(ListGroupsOptions)instead.Since 4.1. UseAdmin.listGroups(ListGroupsOptions)instead.Since 4.1. UseRaftVoterEndpoint.listener()instead. This function will be removed in 5.0.Since 4.2, please useKafkaConsumer.groupMetadata()instead. This class will be an interface in Kafka 5.0.Since 4.2, please useKafkaConsumer.groupMetadata()instead. This class will be an interface in Kafka 5.0.Since 4.1. UseEndpoint.listener()instead. This function will be removed in 5.0. 
- 
Deprecated ClassesClassDescriptionSince 4.1. Use
Admin.listGroups(ListGroupsOptions)andGroupListinginstead.Since 4.1. UseListConfigResourcesOptionsinstead.Since 4.1. UseListConfigResourcesResultinstead.Since 4.1. UseAdmin.listGroups(ListGroupsOptions)instead.Since 4.1. UseAdmin.listGroups(ListGroupsOptions)instead. 
- 
Deprecated Enum ClassesEnum ClassDescriptionsince 4.0; will be removed in a future release. Not required by Kafka client users; no replacement is provided.Since 4.0. Use
GroupStateinstead. 
- 
Deprecated FieldsFieldDescriptionsince 3.6, removal planned in 4.0. Use message.timestamp.before.max.ms and message.timestamp.after.max.ms insteadsince 3.6, removal planned in 4.0. Use message.timestamp.before.max.ms and message.timestamp.after.max.ms instead
 
- 
Deprecated MethodsMethodDescriptionSince 4.1. Use
Admin.listConfigResources()instead.Since 4.1. UseAdmin.listConfigResources(Set, ListConfigResourcesOptions)instead.Since 4.1. UseAdmin.listGroups(ListGroupsOptions)instead.Since 4.1. UseAdmin.listGroups(ListGroupsOptions)instead.Since 4.0. UseConsumerGroupDescription.groupState()instead.Since 4.0. UseConsumerGroupListing.groupState()instead.Since 4.0 and should not be used any longer.Since 4.0 and should not be used any longer.Since 4.0. UseListConsumerGroupsOptions.inGroupStates(Set)instead.Since 4.0. UseListConsumerGroupsOptions.inGroupStates(Set)instead.This method is being deprecated because mirrorTopic is not an accurate name to describe a method that returns the source topic's name.Use
NewMirrorTopic.sourceTopic()} instead.Since 4.1. UseRaftVoterEndpoint.listener()instead. This function will be removed in 5.0.Since 4.1. UseEndpoint.listener()instead. This function will be removed in 5.0. 
- 
Deprecated ConstructorsConstructorDescriptionSince 4.0. Use
ConsumerGroupListing(String, Optional, boolean)instead.Since 4.0. UseConsumerGroupListing(String, Optional, Optional, boolean)instead.Since 4.2, please useKafkaConsumer.groupMetadata()instead. This class will be an interface in Kafka 5.0.Since 4.2, please useKafkaConsumer.groupMetadata()instead. This class will be an interface in Kafka 5.0.Since 4.0. UseConsumerRecords(Map, Map)instead.Since 4.0. UseMockConsumer(String)instead. 
- 
Deprecated Enum Constants