Hey everyone, I have usecase where i have to stor...
# troubleshooting
k
Hey everyone, I have usecase where i have to store very large data in the state (e.g. key: phone number and Account info). I have tried with broadcast state but it is storing all the state records in the heap. Can anybody help how can I achieve by storing it to RocksDb or any other option?
p
Broadcast is indeed meant to store everything on heap. Are you using broadcast for any specific reason?
k
Yup i am connecting one more stream with this phone number stream
p
Hum.. So you need the state in both streams?
k
So I want whenever there is changes in 2nd stream I want to fetch the account from state and user it
No no, I want state in only one stream
p
So there is no need for the broadcast I think
k
Then what can i use?
p
You can use a regular stream (which will hold the state in a single process function). I do not understand the need of the broadcast here. Broadcast is meant to share the state among different operators
k
Ok
Let me give a try
👍 1
Thanks @Pedro Mázala
🙌 1