[DOCS-14700] Wrong class name for FieldPathNamespaceMapper in Sink Configuration Properties Created: 26/Jul/21  Updated: 29/Oct/23  Resolved: 03/Aug/21

Status: Closed
Project: Documentation
Component/s: Kafka
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Minor - P4
Reporter: Frédéric Lemaire Assignee: Christopher Cho
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:
Days since reply: 2 years, 27 weeks, 1 day ago
Epic Link: DOCSP-11739
Story Points: 1

 Description   

The documentation at
https://docs.mongodb.com/kafka-connector/master/kafka-sink-properties/#fieldpathnamespacemapper-settings
instructs to set "namespace.mapper" as "com.mongodb.kafka.connect.sink.topic.mapping.FieldPathNamespaceMapper" .
It should be "com.mongodb.kafka.connect.sink.namespace.mapping.FieldPathNamespaceMapper"

 

Acceptance Criteria

As a user, I see the correct value set for namespace.mapper.



 Comments   
Comment by Githook User [ 03/Aug/21 ]

Author:

{'name': 'Chris Cho', 'email': 'chris.cho@10gen.com', 'username': 'ccho-mongodb'}

Message: DOCS-14700: fix namespacemapper package (#124)

(cherry picked from commit 2ea78937e26895762a80def5d38fb06db5605ad4)
Branch: v1.4
https://github.com/10gen/docs-kafka-connector/commit/fefc9b50d572adccdb3506a11fcb151baeda61a1

Comment by Githook User [ 03/Aug/21 ]

Author:

{'name': 'Chris Cho', 'email': 'chris.cho@10gen.com', 'username': 'ccho-mongodb'}

Message: DOCS-14700: fix namespacemapper package (#124)

(cherry picked from commit 2ea78937e26895762a80def5d38fb06db5605ad4)
Branch: v1.5
https://github.com/10gen/docs-kafka-connector/commit/27244c3de74d22e526e69620dbb3c9601f614582

Comment by Githook User [ 03/Aug/21 ]

Author:

{'name': 'Chris Cho', 'email': 'chris.cho@10gen.com', 'username': 'ccho-mongodb'}

Message: DOCS-14700: fix namespacemapper package (#124)

(cherry picked from commit 2ea78937e26895762a80def5d38fb06db5605ad4)
Branch: v1.6
https://github.com/10gen/docs-kafka-connector/commit/ed94784733cd2a34371a0c17b3cf9389a549ef60

Comment by Githook User [ 03/Aug/21 ]

Author:

{'name': 'Chris Cho', 'email': 'chris.cho@10gen.com', 'username': 'ccho-mongodb'}

Message: DOCS-14700: fix namespacemapper package (#124)
Branch: master
https://github.com/10gen/docs-kafka-connector/commit/2ea78937e26895762a80def5d38fb06db5605ad4

Comment by Christopher Cho [ 03/Aug/21 ]

https://github.com/10gen/docs-kafka-connector/pull/124

Comment by Christopher Cho [ 03/Aug/21 ]

Note for ross.lawley 

Looks like a few Strings in the code also need to be updated:

https://github.com/mongodb/mongo-kafka/blob/master/src/main/java/com/mongodb/kafka/connect/sink/MongoSinkTopicConfig.java#L122-L158

Comment by Ross Lawley [ 03/Aug/21 ]

Thanks frederic.lemaire@strada.fr,

I've moved to the DOCS project and the documentation should be updated in the near future.

All the best,

Ross

Comment by Esha Bhargava [ 02/Aug/21 ]

frederic.lemaire@strada.fr Thank you for reporting this issue. We'll look into it and get back to you soon.

Generated at Thu Feb 08 08:10:59 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.