Method: Kafka::FFI::Message#set_headers
- Defined in:
- lib/kafka/ffi/message.rb
#set_headers(headers) ⇒ Object Also known as: headers=
Note:
The Message takes ownership of the headers and they will be destroyed automatically with the Message.
Replace the Message’s headers with a new set.
167 168 169 |
# File 'lib/kafka/ffi/message.rb', line 167 def set_headers(headers) ::Kafka::FFI.rd_kafka_set_headers(self, headers) end |