Sha256: 735c9bf1e00e1259962104ab439557b5542e2ff7d2ebbaf848a9e03ef26776e2

Contents?: true

Size: 298 Bytes

Versions: 49

Compression:

Stored size: 298 Bytes

Contents

# frozen_string_literal: true

module Kafka
  module Protocol
    class LeaveGroupResponse
      attr_reader :error_code

      def initialize(error_code:)
        @error_code = error_code
      end

      def self.decode(decoder)
        new(error_code: decoder.int16)
      end
    end
  end
end

Version data entries

49 entries across 49 versions & 4 rubygems

Version Path
ruby-kafka-0.6.5 lib/kafka/protocol/leave_group_response.rb
ruby-kafka-0.6.4 lib/kafka/protocol/leave_group_response.rb
ruby-kafka-0.7.0.alpha3 lib/kafka/protocol/leave_group_response.rb
ruby-kafka-0.7.0.alpha2 lib/kafka/protocol/leave_group_response.rb
ruby-kafka-0.7.0.alpha1 lib/kafka/protocol/leave_group_response.rb
ruby-kafka-0.6.3 lib/kafka/protocol/leave_group_response.rb
ruby-kafka-0.6.2 lib/kafka/protocol/leave_group_response.rb
ruby-kafka-0.6.1 lib/kafka/protocol/leave_group_response.rb
ruby-kafka-0.6.0 lib/kafka/protocol/leave_group_response.rb