Sha256: ffcbe93fd0f7ed3296e0c2fe43d0f65109dbcb4c96c227aa11c3a81dfb1862e8

Contents?: true

Size: 604 Bytes

Versions: 41

Compression:

Stored size: 604 Bytes

Contents

# frozen_string_literal: true

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

      # The name of the topic deleted
      # @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
rdkafka-0.13.1 lib/rdkafka/admin/delete_topic_report.rb
rdkafka-0.14.1 lib/rdkafka/admin/delete_topic_report.rb
rdkafka-0.15.2 lib/rdkafka/admin/delete_topic_report.rb
karafka-rdkafka-0.13.10 lib/rdkafka/admin/delete_topic_report.rb
karafka-rdkafka-0.14.11 lib/rdkafka/admin/delete_topic_report.rb
karafka-rdkafka-0.14.10 lib/rdkafka/admin/delete_topic_report.rb
rdkafka-0.15.1 lib/rdkafka/admin/delete_topic_report.rb
karafka-rdkafka-0.14.9 lib/rdkafka/admin/delete_topic_report.rb
karafka-rdkafka-0.14.8 lib/rdkafka/admin/delete_topic_report.rb
karafka-rdkafka-0.14.7 lib/rdkafka/admin/delete_topic_report.rb
karafka-rdkafka-0.14.6 lib/rdkafka/admin/delete_topic_report.rb
karafka-rdkafka-0.14.5 lib/rdkafka/admin/delete_topic_report.rb
karafka-rdkafka-0.14.4 lib/rdkafka/admin/delete_topic_report.rb
karafka-rdkafka-0.14.3 lib/rdkafka/admin/delete_topic_report.rb
karafka-rdkafka-0.14.2 lib/rdkafka/admin/delete_topic_report.rb
rdkafka-0.15.0 lib/rdkafka/admin/delete_topic_report.rb
karafka-rdkafka-0.14.1 lib/rdkafka/admin/delete_topic_report.rb
rdkafka-0.14.0 lib/rdkafka/admin/delete_topic_report.rb
rdkafka-0.14.0.rc1 lib/rdkafka/admin/delete_topic_report.rb
karafka-rdkafka-0.14.0 lib/rdkafka/admin/delete_topic_report.rb