title: How to send message key with unique identiffier (eventID/UUID/filename) from Nifi to Kafka topic and see in kafka logs
body: <p>I am trying to send a message (json file) to Kafka topic (publish), and to use the filename or the uuid as a kafka key so I could trace it in the logs. the message is sent and consumed later on but I am not able to trace the key in the logs so I could trace and identify the messages. The goal is to have a unique identifier for each message (using different filename/uuid for each event)</p>
  
  <p>I have tried to use the evaluteJsonPath process in Nifi in order to add the filename as an attribute so it could be used, but still not able to find anything in kafka logs. In addition I have changed the configuration to debug mode in kafka logs =, but it didn't help</p>
  
  <p><img src="https://i.stack.imgur.com/wOWSM.png" alt="enter image description here"></p>
  
  <p><img src="https://i.stack.imgur.com/Y61BS.png" alt="enter image description here"></p>