open fun close(): Unit
Close the producer
open fun close(completionHandler: Handler<AsyncResult<Void>>): Unit
Close the producer
completionHandler - handler called on operation completed
open fun close(timeout: Long, completionHandler: Handler<AsyncResult<Void>>): Unit
Close the producer