Use 500ms zookeeper session timeout for integration tests - no network here, and our restarts are fast
This commit is contained in:
@@ -53,7 +53,11 @@ log.cleanup.interval.mins=1
|
|||||||
############################# Zookeeper #############################
|
############################# Zookeeper #############################
|
||||||
|
|
||||||
zookeeper.connect={zk_host}:{zk_port}/{zk_chroot}
|
zookeeper.connect={zk_host}:{zk_port}/{zk_chroot}
|
||||||
|
|
||||||
|
# Timeout in ms for connecting to zookeeper
|
||||||
zookeeper.connection.timeout.ms=1000000
|
zookeeper.connection.timeout.ms=1000000
|
||||||
|
# We want to expire kafka broker sessions quickly when brokers die b/c we restart them quickly
|
||||||
|
zookeeper.session.timeout.ms=500
|
||||||
|
|
||||||
kafka.metrics.polling.interval.secs=5
|
kafka.metrics.polling.interval.secs=5
|
||||||
kafka.metrics.reporters=kafka.metrics.KafkaCSVMetricsReporter
|
kafka.metrics.reporters=kafka.metrics.KafkaCSVMetricsReporter
|
||||||
|
|||||||
@@ -120,3 +120,5 @@ zookeeper.connect={zk_host}:{zk_port}/{zk_chroot}
|
|||||||
|
|
||||||
# Timeout in ms for connecting to zookeeper
|
# Timeout in ms for connecting to zookeeper
|
||||||
zookeeper.connection.timeout.ms=1000000
|
zookeeper.connection.timeout.ms=1000000
|
||||||
|
# We want to expire kafka broker sessions quickly when brokers die b/c we restart them quickly
|
||||||
|
zookeeper.session.timeout.ms=500
|
||||||
|
|||||||
@@ -60,4 +60,8 @@ log.cleaner.enable=false
|
|||||||
# You can also append an optional chroot string to the urls to specify the
|
# You can also append an optional chroot string to the urls to specify the
|
||||||
# root directory for all kafka znodes.
|
# root directory for all kafka znodes.
|
||||||
zookeeper.connect={zk_host}:{zk_port}/{zk_chroot}
|
zookeeper.connect={zk_host}:{zk_port}/{zk_chroot}
|
||||||
|
|
||||||
|
# Timeout in ms for connecting to zookeeper
|
||||||
zookeeper.connection.timeout.ms=1000000
|
zookeeper.connection.timeout.ms=1000000
|
||||||
|
# We want to expire kafka broker sessions quickly when brokers die b/c we restart them quickly
|
||||||
|
zookeeper.session.timeout.ms=500
|
||||||
|
|||||||
@@ -120,3 +120,5 @@ zookeeper.connect={zk_host}:{zk_port}/{zk_chroot}
|
|||||||
|
|
||||||
# Timeout in ms for connecting to zookeeper
|
# Timeout in ms for connecting to zookeeper
|
||||||
zookeeper.connection.timeout.ms=1000000
|
zookeeper.connection.timeout.ms=1000000
|
||||||
|
# We want to expire kafka broker sessions quickly when brokers die b/c we restart them quickly
|
||||||
|
zookeeper.session.timeout.ms=500
|
||||||
|
|||||||
Reference in New Issue
Block a user