Sha256: 38722f97bda6edcc6e5367f1a99330cfd16485a37f77acbe225cfa03b4e1c5c7

Contents?: true

Size: 604 Bytes

Versions: 41

Compression:

Stored size: 604 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 = result_name.read_string
        end
      end
    end
  end
end

Version data entries

41 entries across 41 versions & 2 rubygems

Version Path
karafka-rdkafka-0.14.0.beta1 lib/rdkafka/admin/create_topic_report.rb
karafka-rdkafka-0.13.9 lib/rdkafka/admin/create_topic_report.rb
karafka-rdkafka-0.13.8 lib/rdkafka/admin/create_topic_report.rb
karafka-rdkafka-0.13.7 lib/rdkafka/admin/create_topic_report.rb
karafka-rdkafka-0.13.6 lib/rdkafka/admin/create_topic_report.rb
karafka-rdkafka-0.13.5 lib/rdkafka/admin/create_topic_report.rb
karafka-rdkafka-0.13.4 lib/rdkafka/admin/create_topic_report.rb
rdkafka-0.13.0 lib/rdkafka/admin/create_topic_report.rb
karafka-rdkafka-0.13.3 lib/rdkafka/admin/create_topic_report.rb
karafka-rdkafka-0.13.2 lib/rdkafka/admin/create_topic_report.rb
karafka-rdkafka-0.13.1 lib/rdkafka/admin/create_topic_report.rb
rdkafka-0.13.0.beta.8 lib/rdkafka/admin/create_topic_report.rb
karafka-rdkafka-0.13.0 lib/rdkafka/admin/create_topic_report.rb
karafka-rdkafka-0.13.0.beta2 lib/rdkafka/admin/create_topic_report.rb
karafka-rdkafka-0.13.0.beta1 lib/rdkafka/admin/create_topic_report.rb
rdkafka-0.13.0.beta.7 lib/rdkafka/admin/create_topic_report.rb
rdkafka-0.13.0.beta.6 lib/rdkafka/admin/create_topic_report.rb
rdkafka-0.13.0.beta.5 lib/rdkafka/admin/create_topic_report.rb
rdkafka-0.13.0.beta.3 lib/rdkafka/admin/create_topic_report.rb
rdkafka-0.13.0.beta.2 lib/rdkafka/admin/create_topic_report.rb