Sha256: 6cc3376f7ac241c87ee95e7f9685519a708fdaf619b77a9bbf0a03b9787f10cb

Contents?: true

Size: 589 Bytes

Versions: 32

Compression:

Stored size: 589 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.read_string
        end
      end
    end
  end
end

Version data entries

32 entries across 32 versions & 2 rubygems

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