config/phobos.yml.example in phobos-1.8.2.pre.beta1 vs config/phobos.yml.example in phobos-1.8.2.pre.beta2
- old
+ new
@@ -58,9 +58,14 @@
# trigger a delivery. Only used for async_producer
delivery_threshold: 0
# if greater than zero, the number of seconds between automatic message
# deliveries. Only used for async_producer
delivery_interval: 0
+ # Set this to true to keep the producer connection between publish calls.
+ # This can speed up subsequent messages by around 30%, but it does mean
+ # that you need to manually call sync_producer_shutdown before exiting,
+ # similar to async_producer_shutdown.
+ persistent_connections: false
consumer:
# number of seconds after which, if a client hasn't contacted the Kafka cluster,
# it will be kicked out of the group
session_timeout: 30