Deprecated API
Contents
-
Terminally Deprecated ElementsElementDescriptionSince 4.1. Use
Admin.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.1. UseAdmin.listGroups(ListGroupsOptions)andGroupListinginstead.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.0. UseGroupStateinstead.Since 4.1. UseEndpoint.listener()instead. This function will be removed in 5.0.This interface is not part of the public API and will be removed in version 5.0. Internal Kafka code should useBytesUtils.ByteArrayComparatorinstead.This field is not part of the public API and will be removed in version 5.0. Internal Kafka code should useBytesUtils.BYTES_LEXICO_COMPARATORinstead.This method is not part of the public API and will be removed in version 5.0. Internal Kafka code should useBytesUtils.increment(Bytes)instead.Since 4.2.0, useClientTelemetryExporterProviderinstead. This interface will be removed in Kafka 5.0.0. The new interface provides aClientTelemetryExporterwhich includes additional context such as the push interval.Since 4.2.0, useClientTelemetryExporterinstead. This interface will be removed in Kafka 5.0.0. The new interface provides additional context including the push interval to enable better metric lifecycle management.
-
Deprecated InterfacesInterfaceDescriptionThis interface is not part of the public API and will be removed in version 5.0. Internal Kafka code should use
BytesUtils.ByteArrayComparatorinstead.Since 4.2.0, useClientTelemetryExporterProviderinstead. This interface will be removed in Kafka 5.0.0. The new interface provides aClientTelemetryExporterwhich includes additional context such as the push interval.Since 4.2.0, useClientTelemetryExporterinstead. This interface will be removed in Kafka 5.0.0. The new interface provides additional context including the push interval to enable better metric lifecycle management.
-
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 FieldsFieldDescriptiondown-conversion is not possible in Apache Kafka 4.0 and newer, hence this configuration is a no-op, and it is deprecated for removal in Apache Kafka 5.0.This field is not part of the public API and will be removed in version 5.0. Internal Kafka code should use
BytesUtils.BYTES_LEXICO_COMPARATORinstead.
-
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.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.This method is not part of the public API and will be removed in version 5.0. Internal Kafka code should useBytesUtils.increment(Bytes)instead.
-
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.
Admin.listConfigResources()instead.