markap14 commented on PR #6131:
URL: https://github.com/apache/nifi/pull/6131#issuecomment-1222917037

   I also tried changing the "Publish Strategy" to "Use Record Content as 
Value" so that I could set the "Key Field." I then set the Key Field to `key`. 
And then changed the Publish Strategy back to "Use Wrapper".
   This time, because the Key Field was specified, it sent the data. But what 
it sent was not correct.
   It sent the key correctly. But for the Kafka message, it sent the entire 
payload, not just the `value` section.
   And it sent no headers. So it appears to behave as if the Publish Strategy 
still was set to "Use Record Content as Value"


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to