[KAFKA-137] Add support for dotted field names. Created: 05/Aug/20  Updated: 28/Oct/23  Resolved: 16/Sep/20

Status: Closed
Project: Kafka Connector
Component/s: Source
Affects Version/s: None
Fix Version/s: 1.3.0

Type: Improvement Priority: Major - P3
Reporter: Ross Lawley Assignee: Ross Lawley
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Documented
Related
is related to KAFKA-68 MongoSourceConnector source record ke... Closed
Epic Link: Support schema for Source connector
Documentation Changes: Needed
Documentation Changes Summary:

Allows users to use dot notation in schema so:

{
"type": "record","
"name": "keySchema","
"fields" : [{"name": "fullDocument", "type": "record", "fields": [

{"name": "uuid", "type": "string"}

]}]"
}

Can be shortened to:

{
"type": "record","
"name": "keySchema","
"fields" : [

{"name": "fullDocument.uuid", "type": "string"}

]"
}


 Description   

Allows users to use dotted syntax when defining schemas.

eg: fullDocument.uuid: Schema.STRING_SCHEMA



 Comments   
Comment by Githook User [ 16/Sep/20 ]

Author:

{'name': 'Ross Lawley', 'email': 'ross.lawley@gmail.com', 'username': 'rozza'}

Message: Support dotted field names in avro

KAFKA-137
Branch: master
https://github.com/mongodb/mongo-kafka/commit/b64a11bb969d6b4d3e279e67c3ac163a689e1661

Comment by Ross Lawley [ 10/Sep/20 ]

Need to ensure AVRO validation doesn't trip the feature up.

Comment by Githook User [ 25/Aug/20 ]

Author:

{'name': 'Ross Lawley', 'email': 'ross.lawley@gmail.com', 'username': 'rozza'}

Message: Support dotted field lookups when using schemas

KAFKA-137
Branch: master
https://github.com/mongodb/mongo-kafka/commit/d39bbf0a7709be7f6ba6e13f429b089309f5e092

Comment by Ross Lawley [ 17/Aug/20 ]

PR: https://github.com/mongodb/mongo-kafka/pull/29

Generated at Thu Feb 08 09:05:40 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.