Sha256: daf6209a269174bc722ad1c6dfafb44146a778d07a583f19b54c0d7023913afd

Contents?: true

Size: 701 Bytes

Versions: 41

Compression:

Stored size: 701 Bytes

Contents

# frozen_string_literal: true

module Rdkafka
  class Admin
    class CreateAclReport

      # Upon successful creation of Acl RD_KAFKA_RESP_ERR_NO_ERROR - 0 is returned as rdkafka_response
      # @return [Integer]
      attr_reader :rdkafka_response


      # Upon successful creation of Acl empty string will be returned as rdkafka_response_string
      # @return [String]
      attr_reader :rdkafka_response_string

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

Version data entries

41 entries across 41 versions & 2 rubygems

Version Path
karafka-rdkafka-0.14.1 lib/rdkafka/admin/create_acl_report.rb