You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Alieh Saeedi (Jira)" <ji...@apache.org> on 2026/04/08 00:18:00 UTC

[jira] [Updated] (KAFKA-20413) Missing header-aware store variants for suppress() and stream-stream outer joins

     [ https://issues.apache.org/jira/browse/KAFKA-20413?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alieh Saeedi updated KAFKA-20413:
---------------------------------
    Summary: Missing header-aware store variants for suppress() and stream-stream outer joins  (was: ListValueStore and suppress buffer stores don't propagate headers to serdes)

> Missing header-aware store variants for suppress() and stream-stream outer joins
> --------------------------------------------------------------------------------
>
>                 Key: KAFKA-20413
>                 URL: https://issues.apache.org/jira/browse/KAFKA-20413
>             Project: Kafka
>          Issue Type: Sub-task
>          Components: streams
>            Reporter: Alieh Saeedi
>            Assignee: Alieh Saeedi
>            Priority: Minor
>
>  While reviewing PR #21969 (KAFKA-20173), we found header propagation gaps in:                                                                                                                  
>   1. ListValueStore - used by stream-stream left/outer joins
>   2. Suppress buffer stores - need verification (PR #21969 fixed InMemoryTimeOrderedKeyValueChangeBuffer and RocksDBTimeOrderedKeyValueBuffer, but gaps may remain)                              
>                   
>   Gaps                                                                                                                                                                                           
>                   
>   - ListValueStore.java: Passes null and no headers to LIST_SERDE
>   - ChangeLoggingListValueBytesStore.java: Uses new RecordHeaders() instead of internalContext.recordContext().headers()                 
>   - No headers-aware builder variant                                                                                                   
>                                                                                                                                                                                                  
>   Suppress (needs clarification):                                                                                                                                                                
>   - PR #21969 fixed InMemoryTimeOrderedKeyValueChangeBuffer (default suppress buffer)                                                                              - PR #21969 fixed RocksDBTimeOrderedKeyValueBuffer (persistent buffer)                                                                                                     
>   - Verify: Are there other suppress-related stores that still need fixing?
>                                                                                                                                                                                                  
>   Impact                                                                                                                                                                                         
>    
>   Custom headers lost in stream-stream left/outer joins and potentially suppress operations. Changelog records don't replicate headers. Store recovery loses headers.                            
>                   
>   Fix                                                                                                                                                                                            
>   Apply PR #21969 patterns: pass context.headers() to serialize/deserialize calls and use actual headers in changelog logging. Add tests for suppress(), FK-join, and stream-stream left/outer joins with custom headers.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)