I was wondering if it was possible to use the Flink Kafka sink to write events different topic depending on the type of events? Let's say that we have different type of events: notification, messages and friend requests. We want to stream these events to different topics named: notification-topic, messages-topic, friendsRequest-topic.
I tried many different ways to resolve this problem, but still couldn't find the right solution. I heard that I could use the ProcessFunction
but how can it be related to my problem?