GitHub user bbejeck opened a pull request:
https://github.com/apache/kafka/pull/4313
MINOR: broker down for significant amt of time system test
System test where a broker is offline more than the configured timeouts.
In this case:
- Max poll interval set to 45 secs
- Retries set to 2
- Request timeout set to 15 seconds
- Max block ms set to 30 seconds
The broker was taken off-line for 70 seconds or more than double request
timeout * num retries
[passing system test
results](uhttp://confluent-kafka-branch-builder-system-test-results.s3-us-west-2.amazonaws.com/2017-12-11--001.1513034559--bbejeck--KSTREAMS_1179_broker_down_for_significant_amt_of_time--6ab4802/report.html)
### Committer Checklist (excluded from commit message)
- [ ] Verify design and implementation
- [ ] Verify test coverage and CI build status
- [ ] Verify documentation (including upgrade notes)
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/bbejeck/kafka
KSTREAMS_1179_broker_down_for_significant_amt_of_time
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/kafka/pull/4313.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #4313
----
commit f21702a454122ec1f04af010de873a24ee89d18a
Author: Bill Bejeck <[email protected]>
Date: 2017-12-08T21:14:47Z
MINOR: add system test for streams resilience to broker outages
commit ddaa775ec18db333e81b35d618f4896277b5c25c
Author: Bill Bejeck <[email protected]>
Date: 2017-12-08T21:34:43Z
fix parameters for test
commit 39042ad809d34b216b504748f01350ceea6257dc
Author: Bill Bejeck <[email protected]>
Date: 2017-12-08T21:55:55Z
fix parameters for test in service
commit 7a493362fe63666db782c6e101cbc2f206a66e31
Author: Bill Bejeck <[email protected]>
Date: 2017-12-08T21:57:42Z
name parameters according to format
commit 0a5d4db0707cdaab6897055ff2ccae986678de78
Author: Bill Bejeck <[email protected]>
Date: 2017-12-08T22:24:17Z
update start message to expected text for framework
commit 609c96328e2dc2a6e798066782a13f23094f2df2
Author: Bill Bejeck <[email protected]>
Date: 2017-12-11T18:40:56Z
changed to use correct methods to start and stop kafka node
commit 950c4aba80a6fa500e519d52ca0b9edabdfad97b
Author: Bill Bejeck <[email protected]>
Date: 2017-12-11T19:03:04Z
fix references to methods
commit 3af19698d93b10403ede987fbd76c5435a7a4d88
Author: Bill Bejeck <[email protected]>
Date: 2017-12-11T19:23:50Z
moved methods to test method
commit 91847ea3344d99493e3c5812e649334b8e67eadf
Author: Bill Bejeck <[email protected]>
Date: 2017-12-11T19:55:15Z
fix args for starting test
commit 673cf8a86e9f97647dcaab29139f5deefcacd5fa
Author: Bill Bejeck <[email protected]>
Date: 2017-12-11T20:22:44Z
fix args for passing in None
commit 95b61a8344da27435a98ca0f9d6fa5fbb80197ec
Author: Bill Bejeck <[email protected]>
Date: 2017-12-11T21:20:39Z
reduced timeout and verify by using consumer
commit b9dea8cb31fce4665a320a9fecc38b049ba13f83
Author: Bill Bejeck <[email protected]>
Date: 2017-12-11T21:52:45Z
increase verify consumer session timeout
commit d77a6507b66ff40e0dea33b2c0a6ee493cd7d674
Author: Bill Bejeck <[email protected]>
Date: 2017-12-11T22:28:44Z
parse stdout file for success message
commit 46c5aaa91cba6bf4c456096064c522e045e34f0d
Author: Bill Bejeck <[email protected]>
Date: 2017-12-11T22:33:14Z
formatting fixes
commit b92456804af0b1e43254354395d18b79a15d2f43
Author: Bill Bejeck <[email protected]>
Date: 2017-12-11T22:34:52Z
more formatting
commit 8f5c9cc253803fa0341a2b6cffa350ad0e91ce45
Author: Bill Bejeck <[email protected]>
Date: 2017-12-11T22:39:16Z
fix times
commit 6ab4802cb7bcc46e95448d147bb708a84b6fe480
Author: Bill Bejeck <[email protected]>
Date: 2017-12-11T23:08:45Z
get rid of VerifiableConsumer, not using
----
---