Hi all, I am new to flink. I need some understanding on state in KeyedCoProcessFunction. I have created KeyedCoProcessFunction<String,Transaction,Product,EnrichedTrnx> , I have created ListState<EnrichedTrnx> and ValueState<Product>. Basically there are n Transcation for 1 product.
Do flink creates new state for each input/record join?
Ex:
Product("p_id-1,"pen")
Product("p_id-2,"car")
Transacation("t-id-1","p_id-1",10)
Transacation("t-id-2","p_id-1",20)
Transacation("t-id-3","p_id-1",10)
Transacation("t-id-1","p_id-2",30999)
Joining by p_id. Does it creates new ProductState and ListState<EnrichedTrnx for each p_id (keyBy).