hello-kafka-stream-testing icon indicating copy to clipboard operation
hello-kafka-stream-testing copied to clipboard

kafka streams headers in the produce step

Open JacHub opened this issue 6 years ago • 1 comments

I think it is not possible to define headers in the producer json. Something like this:

"steps": [
    {
      "name": "produce_step",
      "url": "kafka-topic:xxxx",
      "operation": "produce",
      "request": {
        "records": [
          {
            **"headers": [
               {"type": "aaa"}
            ],**
            "key": "577152c4-26d2-4479-ae05-a7272fa81eea",
            "value": "{\"eventId\":\"577152c4-26d2-4479-ae05-a7272fa81eea\"}"
          }
        ]
      },
      "assertions": {
        "status": "Ok"
      }

JacHub avatar Oct 21 '19 12:10 JacHub

@JacHub This is currently not supported, this is yet be implemented and it's in our list of TODOs. We will raise an issue and fix this.

authorjapps avatar Oct 21 '19 19:10 authorjapps