Redis command

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Redis command

miki haiat
I have some streamed data by window time   . 
the result is sent to redis has an hset .

my problem is that each window iteration i can get  different data from the stream and the earlier keys wont overwrite.
as you can see in the image i have some new and old values ...
Can i delete the hash before insert it by using flink ?



    

Reply | Threaded
Open this post in threaded view
|

Re: Redis command

miki haiat
i think the correct way is the SET TTl for each hashset ?
but how can i do it from flink ?

On Thu, Dec 21, 2017 at 2:49 PM, miki haiat <[hidden email]> wrote:
I have some streamed data by window time   . 
the result is sent to redis has an hset .

my problem is that each window iteration i can get  different data from the stream and the earlier keys wont overwrite.
as you can see in the image i have some new and old values ...
Can i delete the hash before insert it by using flink ?