Nifi: Kafka Producer with Avro format in both key and value
Hello all,
We have a couple of flows already writting values into Kafka using Avro format for the value, via an AvroRecordSetWriter that also uses a Confluent Schema Registry.
The thing is that now we would also need to write the Kafka key also in Avro format.
Is there any easy way to do it, or how would we isolate the key, to use an Avro writer to write it in Avro and then merge it will the original flow file as an attribute to be used as key by the PublishKafka processor?
Thank you.
Best regards,
Miguel

