Uploaded image for project: 'Kafka Connector'
  1. Kafka Connector
  2. KAFKA-137

Add support for dotted field names.

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 1.3.0
    • Affects Version/s: None
    • Component/s: Source
    • None
    • Needed
    • Hide

      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"}

      ]"
      }

      Show
      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"} ]" }

      Allows users to use dotted syntax when defining schemas.

      eg: fullDocument.uuid: Schema.STRING_SCHEMA

            Assignee:
            ross@mongodb.com Ross Lawley
            Reporter:
            ross@mongodb.com Ross Lawley
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: