Amol Khare
01/12/2023, 4:24 PMfilter on kinesis stream and then sink to JDBC database
kinesisStream.filter(event -> EventType.AGENT_START == event.getType())
.addSink(insertAssetSink);
No data gets saved to DB. If I remove the filter operation, data gets saved. Has it got something to do with whether I'm processing all data from the kinesis or not ?Ahmed Hamdy
01/12/2023, 4:52 PMAmol Khare
01/12/2023, 4:59 PM.print() after the .filter() , it prints out the records I expect to see. But if I change from .print() to .addSink , nothing happens with those recordsAmol Khare
01/12/2023, 5:05 PM