Sha256: 266e31a0de1c34e7a01305050ab7ae55a21414bb2225387bf4ecb993741ecc06

Contents?: true

Size: 589 Bytes

Versions: 29

Compression:

Stored size: 589 Bytes

Contents

# frozen_string_literal: true

module Rdkafka
  class Admin
    class CreateTopicReport
      # Any error message generated from the CreateTopic
      # @return [String]
      attr_reader :error_string

      # The name of the topic created
      # @return [String]
      attr_reader :result_name

      def initialize(error_string, result_name)
        if error_string != FFI::Pointer::NULL
          @error_string = error_string.read_string
        end
        if result_name != FFI::Pointer::NULL
          @result_name = result_name.read_string
        end
      end
    end
  end
end

Version data entries

29 entries across 29 versions & 2 rubygems

Version Path
karafka-rdkafka-0.18.0 lib/rdkafka/admin/create_topic_report.rb
karafka-rdkafka-0.18.0.rc1 lib/rdkafka/admin/create_topic_report.rb
rdkafka-0.19.0 lib/rdkafka/admin/create_topic_report.rb
karafka-rdkafka-0.17.6 lib/rdkafka/admin/create_topic_report.rb
karafka-rdkafka-0.17.5 lib/rdkafka/admin/create_topic_report.rb
karafka-rdkafka-0.17.4 lib/rdkafka/admin/create_topic_report.rb
rdkafka-0.18.0 lib/rdkafka/admin/create_topic_report.rb
karafka-rdkafka-0.17.3 lib/rdkafka/admin/create_topic_report.rb
karafka-rdkafka-0.17.2 lib/rdkafka/admin/create_topic_report.rb
karafka-rdkafka-0.17.2.rc1 lib/rdkafka/admin/create_topic_report.rb
rdkafka-0.17.0 lib/rdkafka/admin/create_topic_report.rb
karafka-rdkafka-0.17.1 lib/rdkafka/admin/create_topic_report.rb
karafka-rdkafka-0.17.1.beta1 lib/rdkafka/admin/create_topic_report.rb
karafka-rdkafka-0.17.0 lib/rdkafka/admin/create_topic_report.rb
karafka-rdkafka-0.15.2 lib/rdkafka/admin/create_topic_report.rb
rdkafka-0.16.1 lib/rdkafka/admin/create_topic_report.rb
karafka-rdkafka-0.16.1 lib/rdkafka/admin/create_topic_report.rb
karafka-rdkafka-0.16.0 lib/rdkafka/admin/create_topic_report.rb
karafka-rdkafka-0.16.0.rc1 lib/rdkafka/admin/create_topic_report.rb
rdkafka-0.16.0 lib/rdkafka/admin/create_topic_report.rb