| Tipo: string
Descrição: Um array de pipeline de agregação para executar em seu fluxo de alterações. Você deve definir essa configuração para o documento do evento de fluxo de alterações, não para o campo fullDocument.
Por exemplo: | [{"$match": { "$and": [{"operationType": "insert"}, {"fullDocument.eventId": 1404 }] } }] |
Para mais exemplos, consulte: Padrão: "[]" Valores aceitos: fase do pipeline de agregação válido |
change.stream.full.document | Type: string
Description: Determines what values your change stream returns on update operations.
The default setting returns the differences between the original document and the updated document.
The updateLookup setting returns the differences between the original document and updated document as well as a copy of the entire updated document at a point in time after the update.
The whenAvailable setting returns the updated document, if available.
The required setting returns the updated document and raises an error if it is not available.
For more information on how this change stream option works, see Lookup Full Document for Update Operations in the MongoDB manual.
Default: "" Accepted Values: "", "updateLookup", "whenAvailable", or "required" |
change.stream.show.expanded.events | Type: boolean
Description: Determines if change streams notifies for DDL events such as createIndexes and dropIndexes events. To learn more, see showExpandedEvents.
This setting is required to show
updateDescription.disambiguatedPaths in update events, which clarifies changes that involve ambiguous fields. To learn more, see disambiguatedPaths.
Default: false Accepted Values: true or false |
change.stream.full.document.before.change | Type: string
Description: Configures the document pre-image your change stream returns on update operations. The pre-image is not available for source records published while copying existing data, and the pre-image configuration has no effect on copying.
To learn how to configure a collection to enable pre-images, see Change Streams with Document Pre- and Post-Images in the MongoDB manual.
The default setting suppresses the document pre-image.
The whenAvailable setting returns the document pre-image if it's available, before it was replaced, updated, or deleted.
The required setting returns the document pre-image and raises an error if it is not available.
Default: "" Accepted Values: "" or "whenAvailable" or "required" |
publish.full.document.only | Type: boolean
Description: Whether to return only the fullDocument field from the change stream event document produced by any update event. The fullDocument field contains the most current version of the updated document. To learn more about the fullDocument field, see the update Event in the Server manual.
When set to true, the connector overrides the change.stream.full.document setting and sets it to updateLookup so that the fullDocument field contains updated documents.
Default: false Accepted Values: true or false |
publish.full.document.only.tombstone.on.delete | Tipo: booleano
descrição: Se os eventos da lápide devem ser devolvidos quando os documentos são excluídos. Os eventos Tombstone contêm as chaves dos documentos a excluir com valores null. Esta configuração se aplica apenas quando publish.full.document.only é true.
padrão: false Valores aceitos: true ou false |
change.stream.document.key.as.key | Tipo: booleano
descrição: Indica se o sistema deve usar a chave do documento para a chave do registro de origem se a chave do documento estiver presente.
Quando definido como true, o conector adiciona chaves dos documentos excluídos aos eventos de marca para exclusão. Quando definido como false, o conector usa o token de continuação como chave de origem para os eventos de marca para exclusão.
Padrão: true Valores aceitos: true ou false |
| Type: string
Description: A JSON collation document that specifies language-specific ordering rules that MongoDB applies to the documents returned by the change stream.
Default: "" Accepted Values: A valid collation JSON document |
| Tipo: int
Descrição: O tamanho do lote do cursor do fluxo de alterações.
padrão: 0 Valores aceitos: um número inteiro |
| Tipo: long
Descrição: A quantidade máxima de tempo em milissegundos que o servidor aguarda por novas alterações de dados para relatar ao cursor do fluxo de alterações antes de retornar um lote vazio.
padrão: 5000 Valores aceitos: um número inteiro |
| Tipo: int
descrição: Número máximo de documentos a serem lidos em um único lote ao pesquisar um cursor de fluxo de alteração para novos dados. Você pode usar essa configuração para limitar a quantidade de dados armazenados internamente no conector.
padrão: 1000 Valores aceitos: um número inteiro |