You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "A. Sophie Blee-Goldman (Jira)" <ji...@apache.org> on 2022/10/21 00:23:00 UTC
[jira] [Resolved] (KAFKA-14123) Delete with null value not supported in Streams PersistantWindowsStore
[ https://issues.apache.org/jira/browse/KAFKA-14123?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
A. Sophie Blee-Goldman resolved KAFKA-14123.
--------------------------------------------
Resolution: Not A Problem
> Delete with null value not supported in Streams PersistantWindowsStore
> ----------------------------------------------------------------------
>
> Key: KAFKA-14123
> URL: https://issues.apache.org/jira/browse/KAFKA-14123
> Project: Kafka
> Issue Type: Bug
> Components: streams
> Affects Versions: 3.0.0
> Reporter: Pawan Sharma
> Priority: Major
>
> Unable to delete an Window entry from Persistant Windows Store by passing null value in the body.
>
> Put in this class does not check if the value is null and invoke the remove method.
> [https://github.com/apache/kafka/blob/3.0.0/streams/src/main/java/org/apache/kafka/streams/state/internals/AbstractRocksDBSegmentedBytesStore.java]
>
> Where as the same feature is working in InMemoryWindowsStore, where the null values are treated as delete. line no 126.
> [https://github.com/apache/kafka/blob/3.0.0/streams/src/main/java/org/apache/kafka/streams/state/internals/InMemoryWindowStore.java]
>
> This behaviour is little in contrast to all other stores including kv stores, where a null value is treated as delete and also complys with the behaviour of compressed Kafka topic.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)