Sha256: 0cd8c826d12e7bf3672bf6596911eb2a8f358719c69812dde9b4f7ee2253fc50
Contents?: true
Size: 716 Bytes
Versions: 18
Compression:
Stored size: 716 Bytes
Contents
module Rdkafka class Admin class DeleteTopicHandle < AbstractHandle layout :pending, :bool, :response, :int, :error_string, :pointer, :result_name, :pointer # @return [String] the name of the operation def operation_name "delete topic" end # @return [Boolean] whether the delete topic was successful def create_result DeleteTopicReport.new(self[:error_string], self[:result_name]) end def raise_error raise RdkafkaError.new( self[:response], broker_message: DeleteTopicReport.new(self[:error_string], self[:result_name]).error_string ) end end end end
Version data entries
18 entries across 18 versions & 2 rubygems