Sha256: ac836aef5afb1e5b53884e1f49e8fc44746a16308b2c47fe57c78d3a6b84bd2e

Contents?: true

Size: 412 Bytes

Versions: 30

Compression:

Stored size: 412 Bytes

Contents

module Kafka
  module Protocol
    class LeaveGroupRequest
      def initialize(group_id:, member_id:)
        @group_id = group_id
        @member_id = member_id
      end

      def api_key
        13
      end

      def response_class
        LeaveGroupResponse
      end

      def encode(encoder)
        encoder.write_string(@group_id)
        encoder.write_string(@member_id)
      end
    end
  end
end

Version data entries

30 entries across 30 versions & 1 rubygems

Version Path
ruby-kafka-0.4.0.beta1 lib/kafka/protocol/leave_group_request.rb
ruby-kafka-0.3.18.beta2 lib/kafka/protocol/leave_group_request.rb
ruby-kafka-0.3.18.beta1 lib/kafka/protocol/leave_group_request.rb
ruby-kafka-0.3.17 lib/kafka/protocol/leave_group_request.rb
ruby-kafka-0.3.16 lib/kafka/protocol/leave_group_request.rb
ruby-kafka-0.3.16.beta2 lib/kafka/protocol/leave_group_request.rb
ruby-kafka-0.3.16.beta1 lib/kafka/protocol/leave_group_request.rb
ruby-kafka-0.3.15 lib/kafka/protocol/leave_group_request.rb
ruby-kafka-0.3.15.beta3 lib/kafka/protocol/leave_group_request.rb
ruby-kafka-0.3.15.beta2 lib/kafka/protocol/leave_group_request.rb
ruby-kafka-0.3.15.beta1 lib/kafka/protocol/leave_group_request.rb
ruby-kafka-0.3.14 lib/kafka/protocol/leave_group_request.rb
ruby-kafka-0.3.13.beta4 lib/kafka/protocol/leave_group_request.rb
ruby-kafka-0.3.13.beta3 lib/kafka/protocol/leave_group_request.rb
ruby-kafka-0.3.13.beta2 lib/kafka/protocol/leave_group_request.rb
ruby-kafka-0.3.13.beta1 lib/kafka/protocol/leave_group_request.rb
ruby-kafka-0.3.12 lib/kafka/protocol/leave_group_request.rb
ruby-kafka-0.3.11 lib/kafka/protocol/leave_group_request.rb
ruby-kafka-0.3.10 lib/kafka/protocol/leave_group_request.rb
ruby-kafka-0.3.9 lib/kafka/protocol/leave_group_request.rb