Sha256: e15192e20e4d3c005f51152cc26b68d008283db43525b6a0111a4c84ba9116de

Contents?: true

Size: 425 Bytes

Versions: 26

Compression:

Stored size: 425 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
        LEAVE_GROUP_API
      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

26 entries across 26 versions & 1 rubygems

Version Path
ruby-kafka-0.6.0.beta4 lib/kafka/protocol/leave_group_request.rb
ruby-kafka-0.6.0.beta3 lib/kafka/protocol/leave_group_request.rb
ruby-kafka-0.6.0.beta2 lib/kafka/protocol/leave_group_request.rb
ruby-kafka-0.6.0.beta1 lib/kafka/protocol/leave_group_request.rb
ruby-kafka-0.5.5 lib/kafka/protocol/leave_group_request.rb
ruby-kafka-0.5.4 lib/kafka/protocol/leave_group_request.rb
ruby-kafka-0.5.4.beta1 lib/kafka/protocol/leave_group_request.rb
ruby-kafka-0.5.3 lib/kafka/protocol/leave_group_request.rb
ruby-kafka-0.5.2 lib/kafka/protocol/leave_group_request.rb
ruby-kafka-0.5.2.beta3 lib/kafka/protocol/leave_group_request.rb
ruby-kafka-0.5.2.beta2 lib/kafka/protocol/leave_group_request.rb
ruby-kafka-0.5.2.beta1 lib/kafka/protocol/leave_group_request.rb
ruby-kafka-0.5.1 lib/kafka/protocol/leave_group_request.rb
ruby-kafka-0.5.1.beta2 lib/kafka/protocol/leave_group_request.rb
ruby-kafka-0.5.1.beta1 lib/kafka/protocol/leave_group_request.rb
ruby-kafka-0.4.4 lib/kafka/protocol/leave_group_request.rb
ruby-kafka-0.5.0 lib/kafka/protocol/leave_group_request.rb
ruby-kafka-0.5.0.beta6 lib/kafka/protocol/leave_group_request.rb
ruby-kafka-0.5.0.beta5 lib/kafka/protocol/leave_group_request.rb
ruby-kafka-0.5.0.beta4 lib/kafka/protocol/leave_group_request.rb