Sha256: 5c3d468c112aa15e9c72c177bb6f8baceb58b0e196e6d3e9d0187e37719e18c5
Contents?: true
Size: 731 Bytes
Versions: 10
Compression:
Stored size: 731 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 raise RdkafkaError.new( self[:response], broker_message: CreateTopicReport.new(self[:error_string], self[:result_name]).error_string ) end end end end
Version data entries
10 entries across 10 versions & 1 rubygems