Andre Cloutier
01/24/2023, 8:17 PMJeremy Ber
01/26/2023, 10:05 PMAndre Cloutier
01/30/2023, 10:37 PMvar alertFunction =
eventRouterFunction
.union(enrichedEventStream.getSideOutput(alertInput))
.keyBy(alertInput -> alertInput.alertId)
.process(new AlertFunction())
.name("AlertFunction");Andre Cloutier
01/30/2023, 10:37 PMJeremy Ber
01/31/2023, 2:18 PMAndre Cloutier
02/07/2023, 5:06 PMmap in the DataStream API would lock up the TaskSlot resulting in slowing down the entire job, and the AsyncIO API is intended to address this. Though I can’t really see how I could apply the AsyncIO API for this “caching” kind of use case since it doesn’t have any state. It’s almost like I’d like to have a AsyncKeyedProcessFunction that works off of Futures but that doesn’t appear to be a thing (and I get why that’d be challenging with how checkpointing is implemented).
Are you aware of any patterns/libraries (other than stateful functions) that allow for this kind of “Flink State as a Cache” pattern (or keyed async io)?Jeremy Ber
02/07/2023, 5:09 PMAndre Cloutier
02/07/2023, 5:25 PM