lib/kafka/async_producer.rb in ruby-kafka-0.6.0.beta4 vs lib/kafka/async_producer.rb in ruby-kafka-0.6.0
- old
+ new
@@ -1,4 +1,6 @@
+# frozen_string_literal: true
+
require "thread"
module Kafka
# A Kafka producer that does all its work in the background so as to not block