Skip to content

Add support to emit expanded change stream events #5069

@nlescure-pictet

Description

@nlescure-pictet

Hi,

I was looking at the source code of the ChangeStreamTask and I realized that when creating the ChangeStreamIterable, the code doesn't set the above mentioned flag. It would have to be added to the ChangeStreamOptions.builder() as well.
At the moment, it is therefore impossible to listen to the following types of events: createIndexes, dropIndexes, modify, create, shardCollection, reshardCollection, refineCollectionShardKey (because the flag is false by default.)

Cheers.

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions