Jonathan Rozmarin
07/06/2023, 11:35 AMAndré Midea Jasiskis
07/06/2023, 11:50 AMStream and the generic type used when implementing the CoProcessFuncion in MatchVulnerableAppCopyJonathan Rozmarin
07/06/2023, 12:05 PM(aId: String, bId: String, appIds: Vector[String])
catalogElement case class:
appId: String, appName: String, appVersion: String, vector: Vector[String]
and this is the generic types of the MatchVulnerableAppCopy:
class MatchVulnerableAppCopy()
extends KeyedBroadcastProcessFunction[String, streamCaseClass, CatalogElement, (
String,
String,
Vector[String],
Map[String, Vector[(String, String)]]
)]André Midea Jasiskis
07/06/2023, 1:29 PMKeyedCoProcessFunction if your catalogBroadcast is actually a BroadcastStream then your function might be right. Hard to tell just from those snippets