streamiz icon indicating copy to clipboard operation
streamiz copied to clipboard

Suppression functionality

Open agayev169 opened this issue 4 years ago • 11 comments

I was looking for the suppression over table functionality as in the Java version of Kafka Streams. Is it planned to be added in the future?

agayev169 avatar Apr 07 '21 08:04 agayev169

You seems mentionned this feature ? :

KTable<String, String> table = builder.table("topic");
table.suppress(...);

It's planned on my roadmap, not in future release 1.2.0, but surely in 1.3.0 release.

LGouellec avatar Apr 07 '21 13:04 LGouellec

@LGouellec do you think it is possible to add this functionality in the next release if it is implemented till that time?

agayev169 avatar Apr 08 '21 06:04 agayev169

@agayev169 to finish next release, I miss this PR. Persistent Preview State Store with RocksDb State store implementation (key/value, timestamp & window). I hope release this version end April / begin May. Unfortunately, I can't have enought time to implement Supress(..) processor. So if you want contribute, please feel free to create a PR. It could cool :)

LGouellec avatar Apr 08 '21 06:04 LGouellec

Great! I will have a look at this problem, and if I am able to finish it I will create a PR. Thank you for the fast response!

agayev169 avatar Apr 08 '21 06:04 agayev169

@agayev169 @LGouellec is there any progress/plan to add this functionality?

yornstei avatar Nov 23 '22 18:11 yornstei

Hi @yornstei ,

I updated the compare list, https://github.com/LGouellec/kafka-streams-dotnet/tree/1.4#compare-kafka-streams-vs-streamiz

For now, the suppress(..) processor is not present in any roadmap.

Do you have any workaround regarding this feature ?

Best regards,

LGouellec avatar Nov 23 '22 19:11 LGouellec

@LGouellec thanks for the reply.

I'd like to emit an event if within a specific window a status is updated more than x amount of times for a particular key, and only get notified at the end of the window. It seems like the suppress functionality is build for this and I cannot think of an elegant way to accomplish this without it.

Any idea how to go about this without suppress?

Thanks for your help!

yornstei avatar Nov 23 '22 20:11 yornstei

@yornstei

Unfortunately no for now. You have the transform API will be release in 1.4.0 but you haven't the possibility to downstream record for now.

Best regards,

LGouellec avatar Nov 23 '22 21:11 LGouellec

I will reopen this issue and track the up-vote for 1.5.0 or 1.6.0

LGouellec avatar Nov 23 '22 21:11 LGouellec

Hi @LGouellec , Any idea/workaround to suppress event bursts which go from mongo to ES through kafka connector ? I am also listening to that topic to react to entity changes but they are too many. Was thinking about groupby, aggregate and take last event in a windowed time which is suppressed.

How`s roadmap looking so far ? :) when can we expect 1.7.0 ? Thx, much appreciated !

oroiandan193 avatar Feb 23 '24 08:02 oroiandan193

@oroiandan193, No today without this suppress feature, you can't remove the intermediate records. It's flagged for 1.7.0 because before that, the library must a cache feature flagged for 1.6.0

LGouellec avatar Mar 05 '24 16:03 LGouellec