NotSerializableException during store rdbms data in cache

7 views
Skip to first unread message

vinod kumar

unread,
Jul 14, 2023, 6:53:41 AM7/14/23
to siddhi-dev
@store(type = 'rdbms', datasource = "MASTER_DB",@Cache(size="100", cache.policy="LFU"))
@PrimaryKey("id")
@sink(type = 'log', prefix = 'state data')
define table StateView(id string,stateName string); 

in am getting below error when I use @Cache in @store.

Error on 'UserSummary'. io.siddhi.core.table.CacheTableLFU Error when writing byte array. java.io.NotSerializableException: io.siddhi.core.table.CacheTableLFU



Reply all
Reply to author
Forward
0 new messages