Sha256: 35aaa5a9276bf66ecd61bea1f58472f1d17771407d968fde99c3066830953f2e

Contents?: true

Size: 379 Bytes

Versions: 9

Compression:

Stored size: 379 Bytes

Contents

# frozen_string_literal: true

module Kafka
  module Protocol
    class AddOffsetsToTxnResponse

      attr_reader :error_code

      def initialize(error_code:)
        @error_code = error_code
      end

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

    end
  end
end

Version data entries

9 entries across 9 versions & 3 rubygems

Version Path
ruby-kafka-1.5.0 lib/kafka/protocol/add_offsets_to_txn_response.rb
ruby-kafka-aws-iam-1.4.5 lib/kafka/protocol/add_offsets_to_txn_response.rb
ruby-kafka-aws-iam-1.4.4 lib/kafka/protocol/add_offsets_to_txn_response.rb
ruby-kafka-aws-iam-1.4.3 lib/kafka/protocol/add_offsets_to_txn_response.rb
ruby-kafka-aws-iam-1.4.2 lib/kafka/protocol/add_offsets_to_txn_response.rb
ruby-kafka-aws-iam-1.4.1 lib/kafka/protocol/add_offsets_to_txn_response.rb
ruby-kafka-1.4.0 lib/kafka/protocol/add_offsets_to_txn_response.rb
ruby-kafka-temp-fork-0.0.2 lib/kafka/protocol/add_offsets_to_txn_response.rb
ruby-kafka-temp-fork-0.0.1 lib/kafka/protocol/add_offsets_to_txn_response.rb