Re: [Streams] GlobalStateManagerImpl#restoreState locally restores previously deleted records

2022-12-12 Thread Patrick D’Addona
p too much beyond that; but you may want to look into that issue. Colt McNealy *Founder, LittleHorse.io* On Thu, Dec 8, 2022 at 11:51 PM Patrick D’Addona wrote: > > In your case you also delete if the value is not null and if the value > not-equals "deleteme", right? I

Re: [Streams] GlobalStateManagerImpl#restoreState locally restores previously deleted records

2022-12-08 Thread Patrick D’Addona
oo|| |2022-08-10T14:23:54.367|bar|bar| After I delete the kafka-streams.state.dir and restart the application, I get store.get("foo") -> null store.get("bar") -> "bar" store.all() -> "foo" and "bar" Hope that explains it

Re: [Streams] GlobalStateManagerImpl#restoreState locally restores previously deleted records

2022-12-08 Thread Patrick D’Addona
ut topic into the true "changelog" format before you push it to a global store. Cheers, Colt McNealy *Founder, LittleHorse.io* On Thu, Dec 8, 2022 at 8:41 AM Patrick D’Addona wrote: > Hello, > > I have a quarkus application using > **org.apache.kafka:kafka-streams:3.1.0** and found tha

[Streams] GlobalStateManagerImpl#restoreState locally restores previously deleted records

2022-12-08 Thread Patrick D’Addona
ll()) { if (all == null) { return; } logger.info("Removing already deleted records from rocksdb representing the global store {}", storeName); all.forEachRemaining(r -> { if (r != null && r.key != null && store.get(r.key) == null) {