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

Can't set custom message key

    • Type: Icon: Task Task
    • Resolution: Works as Designed
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None

      I try to use mongo document id as message key. Following this examples https://docs.confluent.io/current/connect/transforms/valuetokey.html#valuetokey i specify settings in MongoSourceConnector.properties but connector raise exception:

       

      Only Struct objects supported for [copying fields from value to key], found: java.lang.String

       

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

              Created:
              Updated:
              Resolved: