Skip to content

Commit

Permalink
MongoDB Changes Stream Consumer Source Kamelet - Stream Filter parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
oscerd committed Apr 29, 2022
1 parent 8b90d13 commit 42f931c
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,11 @@ spec:
title: MongoDB Database
description: Sets the name of the MongoDB database to target.
type: string
streamFilter:
title: Stream Filter
description: Filter condition for change streams consumer.
type: string
example: "{ '$match':{'$or':[{'fullDocument.stringValue': 'specificValue'}]} }"
dependencies:
- "camel:kamelet"
- "camel:mongodb"
Expand All @@ -80,6 +85,7 @@ spec:
username: "{{?username}}"
database: "{{database}}"
consumerType: "changeStreams"
streamFilter: "{{?streamFilter}}"
steps:
- marshal:
json: {}
Expand Down

0 comments on commit 42f931c

Please sign in to comment.