Sha256: 04946fb2689119f4c7613dc1a5e0c74853b0b4bf92c4d901a7cc9532a6e0c154

Contents?: true

Size: 573 Bytes

Versions: 18

Compression:

Stored size: 573 Bytes

Contents

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 = result_name.read_string
        end
      end
    end
  end
end

Version data entries

18 entries across 18 versions & 2 rubygems

Version Path
rdkafka-0.12.1 lib/rdkafka/admin/create_topic_report.rb
karafka-rdkafka-0.12.4 lib/rdkafka/admin/create_topic_report.rb
karafka-rdkafka-0.12.3 lib/rdkafka/admin/create_topic_report.rb
karafka-rdkafka-0.12.2 lib/rdkafka/admin/create_topic_report.rb
karafka-rdkafka-0.12.1 lib/rdkafka/admin/create_topic_report.rb
karafka-rdkafka-0.12.1.beta1 lib/rdkafka/admin/create_topic_report.rb
karafka-rdkafka-0.12.0 lib/rdkafka/admin/create_topic_report.rb
rdkafka-0.12.0 lib/rdkafka/admin/create_topic_report.rb
rdkafka-0.12.0.beta.4 lib/rdkafka/admin/create_topic_report.rb
rdkafka-0.12.0.beta.3 lib/rdkafka/admin/create_topic_report.rb
rdkafka-0.12.0.beta.2 lib/rdkafka/admin/create_topic_report.rb
rdkafka-0.12.0.beta.1 lib/rdkafka/admin/create_topic_report.rb
rdkafka-0.12.0.beta.0 lib/rdkafka/admin/create_topic_report.rb
rdkafka-0.11.1 lib/rdkafka/admin/create_topic_report.rb
rdkafka-0.11.0 lib/rdkafka/admin/create_topic_report.rb
rdkafka-0.10.0 lib/rdkafka/admin/create_topic_report.rb
rdkafka-0.9.0 lib/rdkafka/admin/create_topic_report.rb
rdkafka-0.8.1 lib/rdkafka/admin/create_topic_report.rb