Deprecated API
Contents
-
Terminally Deprecated ElementsElementDescriptionSince 4.4. Use
StreamPartitioner.partitions(String, Object, Object, Headers, int)instead. This method is planned to be removed in 5.0.
-
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.
-
Deprecated Enum Classes
-
Deprecated Exception ClassesException ClassDescriptionsince 4.2 and should not be used any longer.
-
Deprecated FieldsFieldDescriptionSince 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.Since 4.3. Default will change totruewhen removed.since 4.1.0. UseTimeWindowedDeserializer.WINDOW_SIZE_MS_CONFIGforTimeWindowedDeserializer.since 4.1.0. UseTimeWindowedSerializer.WINDOWED_INNER_SERIALIZER_CLASSforTimeWindowedSerializer. UseTimeWindowedDeserializer.WINDOWED_INNER_DESERIALIZER_CLASSforTimeWindowedDeserializer. UseSessionWindowedSerializer.WINDOWED_INNER_SERIALIZER_CLASSforSessionWindowedSerializer. UseSessionWindowedDeserializer.WINDOWED_INNER_DESERIALIZER_CLASSforSessionWindowedDeserializer.
-
Deprecated MethodsMethodDescriptionSince 3.9. Use
DeserializationExceptionHandler.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.4. UseKStream.join(GlobalKTable, KeyValueMapper, ValueJoinerWithStreamAndMappedKey)instead.Since 4.4. UseKStream.join(GlobalKTable, KeyValueMapper, ValueJoinerWithStreamAndMappedKey, Named)instead.Since 4.4. UseKStream.leftJoin(GlobalKTable, KeyValueMapper, ValueJoinerWithStreamAndMappedKey)instead.Since 4.4. UseKStream.leftJoin(GlobalKTable, KeyValueMapper, ValueJoinerWithStreamAndMappedKey, Named)instead.UseProcessorContext#commit()instead.New implementations should always returntrueand manage their own offsets. In the future, this method will be removed and it will be assumed to always returntrue.Since 4.4. UseStreamPartitioner.partitions(String, Object, Object, Headers, int)instead. This method is planned to be removed in 5.0.Since 4.3. UseDslKeyValueParams.dslStoreFormat()instead to check the store format.Since 4.3. UseDslWindowParams.dslStoreFormat()instead to check the store format.Since 4.3. UseStateSerdes.keyFrom(byte[], Headers)instead.Since 4.3. UseStateSerdes.rawKey(Object, Headers)instead.Since 4.3. UseStateSerdes.rawValue(Object, Headers)instead.Since 4.3. UseStateSerdes.valueFrom(byte[], Headers)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.3. Use
DslKeyValueParams(String, DslStoreFormat)instead.Since 4.3. UseDslWindowParams(String, Duration, Duration, boolean, EmitStrategy, boolean, DslStoreFormat)Params(String, DslStoreFormat)} instead.