Hi all, While working on KIP-1271, I propose the following changes:
- A small space optimization around how we encode headers. For space efficiency, when headers are null or empty we would define headers_size = 0 and encode the headers using zero bytes (i.e., omit the header_count byte entirely). Since empty headers may be very common in practice, saving one byte per record in these cases could meaningfully impact storage and network utilization. - For session and window stores, we also use a dual column-family layout, because it’s not possible to reliably distinguish old from new data in a single RocksDB CF. Alternative approaches would introduce inconsistencies with the rest of the codebase and other store types, so we support two column families in this case as well. Best regards, Alieh On Thu, Feb 5, 2026 at 6:55 PM Alieh Saeedi <[email protected]> wrote: > Hi all > Thanks for voting on this KIP. The KIP is approved. > > Chia-Ping Tsai: +1 (binding) > Lucas: +1 (binding) > Matthias: +1 (binding) > Uladzislau Blok: +1 (non-binding) > > Bests, > Alieh > > > > On Wed, Feb 4, 2026 at 4:23 PM Lucas Brutschy via dev < > [email protected]> wrote: > >> +1 (binding) >> >> Cheers, >> Lucas >> >> >> On Wed, Feb 4, 2026 at 1:57 AM Matthias J. Sax <[email protected]> wrote: >> > >> > +1 (binding) >> > >> > On 1/20/26 7:21 AM, Chia-Ping Tsai wrote: >> > > +1 (binding) >> > > >> > > thanks for driving this KIP! >> > > >> > > Best, >> > > Chia-Ping >> > > >> > > Alieh Saeedi via dev <[email protected]> 於 2026年1月19日週一 下午8:08寫道: >> > > >> > >> Hi! >> > >> >> > >> We would like to start a vote for KIP-1271. >> > >> >> > >> KIP: >> > >> >> > >> >> https://cwiki.apache.org/confluence/display/KAFKA/KIP-1271%3A+Allow+to+Store+Record+Headers+in+State+Stores >> > >> Discussion: >> > >> https://lists.apache.org/thread/txtlh0rdck54qjvwsxqrr9409wfwkpss >> > >> >> > >> Best Regards, >> > >> Alieh >> > >> >> > > >> > >> >
