White listing fields to be monitored for a change in a collection

Hi I recently started looking at MongoDB Kafka source connector and wondering how to specify the fields in a collection, I would like to monitor for any data change? Also how list of fields I am interested in to be in the payload?

Hi @Deepak_Jain, welcome!

Try to use the Custom Pipeline configuration setting to filter the change events output. The data change is based on change stream events, so if you can define $match to filter certain fields that you would like to monitor.