yingbo-wu commented on issue #1112: URL: https://github.com/apache/camel-kafka-connector/issues/1112#issuecomment-802504916
In addition, it is escaped as + when the setting contains Spaces ``` { "camel.source.endpoint.streamFilter": "{$match: {operationType: {$in: ['insert', 'update', 'replace']}}}" } ``` The log is: MongoDb endpoint: mongodb://mongo?collection=test_object&consumerType=changeStreams&database=ac-test&mongoConnection=%23class%3Acom.mongodb.client.MongoClients%23create%28%27mongodb%3A%2F%2Froot%3Aroot%40192.168.23.164%3A27017%2F%3FauthSource%3Dadmin%27%29&streamFilter=%7B%24match%3A+%7BoperationType%3A+%7B%24in%3A+%5B%27insert%27%2C+%27update%27%2C+%27replace%27%5D%7D%7D%7D The decode is MongoDb endpoint: mongodb://mongo?collection=test_object&consumerType=changeStreams&database=ac-test&mongoConnection=#class:com.mongodb.client.MongoClients#create('mongodb://root:root@192.168.23.164:27017/?authSource=admin')&streamFilter={$match:+{operationType:+{$in:+['insert',+'update',+'replace']}}} -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org