Sha256: ef2b1da289f175c36c372ae5ca3dd969821b33681e3ae2e031f758c50fa211b4
Contents?: true
Size: 423 Bytes
Versions: 56
Compression:
Stored size: 423 Bytes
Contents
module Kafka module Protocol class ConsumerGroupProtocol def initialize(version: 0, topics:, user_data: nil) @version = version @topics = topics @user_data = user_data end def encode(encoder) encoder.write_int16(@version) encoder.write_array(@topics) {|topic| encoder.write_string(topic) } encoder.write_bytes(@user_data) end end end end
Version data entries
56 entries across 56 versions & 1 rubygems