Sha256: 999bcd8f8163a0073ec749ccd6207c1a125ed758e9ace1d8683d460e920722b5
Contents?: true
Size: 237 Bytes
Versions: 2
Compression:
Stored size: 237 Bytes
Contents
module Kafka class Message attr_reader :value, :key, :topic, :partition def initialize(value, key:, topic:, partition:) @value = value @key = key @topic = topic @partition = partition end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ruby-kafka-0.1.0.pre.beta1 | lib/kafka/message.rb |
ruby-kafka-0.1.0.pre.alpha2 | lib/kafka/message.rb |