-
Bug
-
Resolution: Done
-
Major
-
2.0.0.Alpha3
-
None
In order to make your issue reports as actionable as possible, please provide the following information, depending on the issue type.
Bug report
For bug reports, provide this information, please:
What Debezium connector do you use and what version?
Debezium MongoDB connector version 2.0.0.Alpha3
What is the connector configuration?
name: test key.converter.schemas.enable: false value.converter.schemas.enable: false offset.flush.interval.ms: 5000 mongodb.hosts: localhost:27017 mongodb.name: mongodb mongodb.user: mongodb.password: mongodb.ssl.enabled: false connector.class: io.debezium.connector.mongodb.MongoDbConnector database.include.list: test collection.include.list: test.coll connect.backoff.initial.delay.ms: 1000 connect.backoff.max.delay.ms: 10000 connect.max.attempts: 3 snapshot.mode: never transforms.unwrap.array.encoding: document max.queue.size: 5000 max.batch.size: 1000 max.queue.size.in.bytes: 1000000000 poll.interval.ms: 3000 heartbeat.interval.ms: 10000 transforms.unwrap.add.headers: updateDescription.updatedFields
What is the captured database version and mode of depoyment?
(E.g. on-premises, with a specific cloud provider, etc.)
<Your answer>
What behaviour do you expect?
Get the value of updateDescription.updatedFields in changeEvents obtained in debezium consumer
What behaviour do you see?
Primary sync stopped due to exception java.lang.IllegalArgumentException: Unexpected field name: updateDescription.updatedFields at io.debezium.connector.mongodb.transforms.ExtractNewDocumentState$FieldReference.<init>(ExtractNewDocumentState.java:491) at io.debezium.connector.mongodb.transforms.ExtractNewDocumentState$FieldReference.lambda$fromConfiguration$0(ExtractNewDocumentState.java:528) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:195) at java.base/java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:948) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:913) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:578) at io.debezium.connector.mongodb.transforms.ExtractNewDocumentState$FieldReference.fromConfiguration(ExtractNewDocumentState.java:529) at io.debezium.connector.mongodb.transforms.ExtractNewDocumentState.configure(ExtractNewDocumentState.java:427) at io.debezium.embedded.Transformations.<init>(Transformations.java:45) at io.debezium.embedded.EmbeddedEngine.<init>(EmbeddedEngine.java:598) at io.debezium.embedded.EmbeddedEngine$BuilderImpl.build(EmbeddedEngine.java:307) at io.debezium.embedded.EmbeddedEngine$BuilderImpl.build(EmbeddedEngine.java:219) at io.debezium.embedded.ConvertingEngineBuilder.build(ConvertingEngineBuilder.java:151)
Do you see the same behaviour using the latest relesead Debezium version?
(Ideally, also verify with latest Alpha/Beta/CR version)
Yes
Do you have the connector logs, ideally from start till finish?
(You might be asked later to provide DEBUG/TRACE level log)
<Your answer>
How to reproduce the issue using our tutorial deployment?
<Your answer>
Feature request or enhancement
For feature requests or enhancements, provide this information, please:
Which use case/requirement will be addressed by the proposed feature?
<Your answer>
Implementation ideas (optional)
<Your answer>