Aaron T
09/13/2023, 1:22 PMOscar Perez
09/13/2023, 2:58 PMAaron T
09/13/2023, 2:59 PMThe method getCurrentKey() is undefined for the type CoProcessFunction
Oscar Perez
09/13/2023, 3:12 PMclass ClusterProcessFunction :
KeyedCoProcessFunction<String, AccountAndActivityTagged, UserActivity, CustomerClusterChangedEvent>() {
and this our onTimer method implementation:
override fun onTimer(timestamp: Long, ctx: OnTimerContext, out: Collector<CustomerClusterChangedEvent>) {
ctx.currentKey
}
hope makes some sense?Oscar Perez
09/13/2023, 3:12 PM