config/phobos.yml.example in phobos-2.0.2 vs config/phobos.yml.example in phobos-2.1.0
- old
+ new
@@ -63,10 +63,14 @@
# 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
+ # kafka here supports the same parameters as the top-level, allowing custom connection
+ # configuration details for producers
+ kafka:
+ connect_timeout: 120
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
@@ -77,9 +81,13 @@
offset_commit_threshold: 0
# the time period that committed offsets will be retained, in seconds. Defaults to the broker setting.
offset_retention_time:
# interval between heartbeats; must be less than the session window
heartbeat_interval: 10
+ # kafka here supports the same parameters as the top-level, allowing custom connection
+ # configuration details for consumers
+ kafka:
+ connect_timeout: 130
backoff:
min_ms: 1000
max_ms: 60000