Deprecated API
Contents
-
Deprecated InterfacesInterfaceDescriptionSince 4.0. Use
api.Processorinstead.Since 4.0. Useapi.ProcessorSupplierinstead.Since 4.0. UseFixedKeyProcessorinstead.Since 4.0. UseFixedKeyProcessorSupplierinstead.
-
Deprecated ClassesClassDescriptionSince 4.0 and should not be used any longer.Since 4.0. Use
MockProcessorContextinstead.
-
Deprecated Enum ClassesEnum ClassDescriptionSince 4.0. Use
AutoOffsetResetStrategyinstead.Since 4.0. UseGroupStateinstead.Since 4.0. UseAutoOffsetResetinstead.
-
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.Since 3.4. Use
"statestore.cache.max.bytes"instead.Since 4.0. UseStreamsConfig.DESERIALIZATION_EXCEPTION_HANDLER_CLASS_CONFIGinstead.Since 3.7. UseStreamsConfig.DSL_STORE_SUPPLIERS_CLASS_CONFIGinstead.Since 4.0. UseStreamsConfig.PRODUCTION_EXCEPTION_HANDLER_CLASS_CONFIGinstead.
-
Deprecated MethodsMethodDescriptionSince 4.0. Use
ConsumerGroupDescription.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 3.9. UseDefaultProductionExceptionHandler.handle(ErrorHandlerContext, ProducerRecord, Exception)instead.Since 3.9. UseDeserializationExceptionHandler.handle(ErrorHandlerContext, ConsumerRecord, Exception)instead.Since 3.9. UseLogAndContinueExceptionHandler.handle(ErrorHandlerContext, ConsumerRecord, Exception)instead.Since 3.9. UseLogAndFailExceptionHandler.handle(ErrorHandlerContext, ConsumerRecord, Exception)instead.Since 3.9. UseProductionExceptionHandler.handle(ErrorHandlerContext, ProducerRecord, Exception)instead.Since 4.0. UseConsumed.with(Serde, Serde, TimestampExtractor, AutoOffsetReset)instead.Since 4.0. UseConsumed.with(AutoOffsetReset)instead.Since 4.0. UseConsumed.withOffsetResetPolicy(AutoOffsetReset)instead.Since 4.0 and should not be used any longer.Since 4.0 and should not be used any longer.Since 4.0 and should not be used any longer.Since 4.0 and should not be used any longer.Since 3.0. UseJoinWindows.ofTimeDifferenceAndGrace(Duration, Duration)instead.Since 3.0. UseJoinWindows.ofTimeDifferenceWithNoGrace(Duration)} instead.Since 4.0. UseStreamsConfig.deserializationExceptionHandler()instead.Since 4.0. UseStreamsConfig.productionExceptionHandler()instead.Since 4.0. UseTopology.addSource(org.apache.kafka.streams.AutoOffsetReset, String, String...)instead.Since 4.0. UseTopology.addSource(org.apache.kafka.streams.AutoOffsetReset, String, Pattern)instead.
-
Deprecated ConstructorsConstructorDescriptionSince 4.0. Use
ConsumerGroupListing(String, Optional, boolean)instead.Since 4.0. UseConsumerGroupListing(String, Optional, Optional, boolean)instead.Since 4.0. UseConsumerRecords(Map, Map)instead.Since 4.0. UseMockConsumer(String)instead.