Hey all :wave:, I'm diving into Flink 2 and have a...
# troubleshooting
f
Hey all πŸ‘‹, I'm diving into Flink 2 and have a question about using the new async state store APIs. From what I understand in order to use
enableAsyncState()
with a
KeyedProcessFunction
I would need to configure my job with something along the lines of:
Copy code
upstream
            .keyBy { keyFunction }
            .enableAsyncState()
            .transform(
                "KeyedProcess",
                TypeInformation.of(KeyProcessOutput::class.java),
                AsyncKeyedProcessOperator(KeyedProcessFunction())
            )
            .sinkTo(downstream)
This approach makes sense to me when dealing with `KeyedProcessFunction`'s. However, I have a pipeline that uses a
KeyedCoProcessFunction
with a state store that could really benefit from
enableAsyncState
. Does anyone know of any analog to the
AsyncKeyedProcessOperator
that would work with a
KeyedCoProcessFunction
? Is this something that would be possible or should I be looking for a different approach here? Thanks a lot!