Sha256: 08b05df91d6df8ddf6158cb23de305262bb96bfce1df7b45ef833df31c0e8d20
Contents?: true
Size: 768 Bytes
Versions: 39
Compression:
Stored size: 768 Bytes
Contents
module Rdkafka class Admin class CreatePartitionsHandle < AbstractHandle layout :pending, :bool, :response, :int, :error_string, :pointer, :result_name, :pointer # @return [String] the name of the operation def operation_name "create partitions" end # @return [Boolean] whether the create topic was successful def create_result CreatePartitionsReport.new(self[:error_string], self[:result_name]) end def raise_error RdkafkaError.validate!( self[:response], broker_message: CreatePartitionsReport.new( self[:error_string], self[:result_name] ).error_string ) end end end end
Version data entries
39 entries across 39 versions & 1 rubygems