I'm not aware of an official source/sink..if you want you could try to exploit the Mongo HadoopInputFormat as in [1].
The provided link use a pretty old version of Flink but it should not be a big problem to update the maven dependencies and the code to a newer version.

Best,
Flavio

[1] https://github.com/okkam-it/flink-mongodb-test

On Mon, Apr 29, 2019 at 6:15 AM Hai <hai@magicsoho.com> wrote:

Hi,


Can anyone give me a clue about how to read mongodb’s data as a batch/streaming datasource in Flink? I don’t find the mongodb connector in recent release version .


Many thanks