Frees resources used by the messages and hands ownership by to librdkafka. The application should call destroy when done processing the message.
199 200 201 202 203
# File 'lib/kafka/ffi/message.rb', line 199 def destroy if !null? ::Kafka::FFI.rd_kafka_message_destroy(self) end end