I am learning Kafka Processor API and find one method headers in ProcessorContext.
headers()Returns the headers of the current input record; could be null if it is not available
What is the use of this method?
In docs only one line is written:
Returns the headers of the current input record; could be null if it is not available
Can i perform some operation on this like add?