hello-kafka-stream-testing
hello-kafka-stream-testing copied to clipboard
kafka streams headers in the produce step
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 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.