I'm using flink 1.17.1 and can't find the classes ...
# troubleshooting
c
m
I'm not sure what you're trying to achieve; Datagen is a random data generator, while you're talking about mocking a Kafka source. Wouldn't it make more sense to create a bounded Kafka connector?
c
I want to read from a file in the tests but from kafka in prod. With the sink we can just implement the
SinkFunction
interface, but with the new
Source
I can't do the same because it's too complex. So I was trying to use this: https://cwiki.apache.org/confluence/display/FLINK/FLIP-238%3A+Introduce+FLIP-27-based+Data+Generator+Source "At the same time, it is frequently required to generate arbitrary events with a "mock" source."
m
I think the Flink example are just updated to reflect those changes