Uploaded image for project: 'AMQ Streams'
  1. AMQ Streams
  2. ENTMQST-1789

Kafka Bridge: producer json payload does not accept string for key and value

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • None
    • 1.4.0.GA, 1.5.0.GA
    • kafka-bridge
    • None

    Description

      • AMQ Streams 1.4.0 installed on OpenShift 4.3
      • Kafka cluster and Kafka Bridge installed
      • When sending the following message to a topic:
        curl -X POST $BRIDGE/topics/bridge-topic-1   -H 'content-type: application/vnd.kafka.json.v2+json'   -d '{"records":[{"key":"message-key","value": "message-value"}]}'
        

        The following error is returned:

        {
          "error_code": 400,
          "message": "Validation error on: body.records[0].value - $.records[0].value: string found, object expected"
        }
        

      Attachments

        Activity

          People

            Unassigned Unassigned
            btison Bernard Tison
            Lukas Kral Lukas Kral
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: