mirror of https://github.com/reiseburo/hermann
Add a small note about consumer thread-safety
This commit is contained in:
parent
6cbceead8b
commit
433b739e45
|
@ -7,6 +7,8 @@ else
|
|||
end
|
||||
|
||||
module Hermann
|
||||
# Hermann::Consumer provides a simple consumer API which is only safe to be
|
||||
# executed in a single thread
|
||||
class Consumer
|
||||
attr_reader :topic, :brokers, :partition, :internal
|
||||
|
||||
|
|
Loading…
Reference in New Issue