GitHub user granders opened a pull request:
https://github.com/apache/kafka/pull/229
KAFKA-1888 [WIP]: rolling upgrade test
@ewencp @gwenshap
This needs some refactoring to avoid the duplicated code between
replication test and upgrade test, but in shape for initial feedback.
I'm interested in feedback on the added `KafkaConfig` class and
`kafka_props` file. This addition makes it:
- easier to attach different configs to different nodes (e.g. during broker
upgrade process)
- easier to reason about the configuration of a particular node
Notes:
- in the default values in the KafkaConfig class, I removed many properties
which were in kafka.properties before. This is because most of those properties
were set to what is already the default value.
- when running non-trunk VerifiableProducer, I append the trunk tools jar
to the classpath, and run it with the non-trunk kafka-run-class.sh script
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/confluentinc/kafka KAFKA-1888-upgrade-test
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/kafka/pull/229.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 #229
----
commit 22eae20df7ced03ca49f2f97033c21809c19c2e9
Author: Geoff Anderson <[email protected]>
Date: 2015-09-02T23:24:01Z
Added simple mechanism for setting version on a Kafka node. Also updated
provisioning script to bring in kafka 0.8.2.1, and included simple sanity tests.
commit 1fe461d1e6a9aa28fa23ce61a85ad5722691e003
Author: Geoff Anderson <[email protected]>
Date: 2015-09-15T01:04:44Z
Added sanity checks on VerifiableProducer - check that we can successfully
start and produce on trunk and on 0.8.2.1
commit 06dcb337ced72876bc03d0242e88971ea4bf57a6
Author: Geoff Anderson <[email protected]>
Date: 2015-09-15T01:13:55Z
Added versioning on console consumer service
commit 80cbe0a0b03411e43439cfedab4bb2b63b26f869
Author: Geoff Anderson <[email protected]>
Date: 2015-09-15T01:18:56Z
Added versioning for verifiable producer, as well as recoverable log4j
logging
commit 4b8cfc72cb00474f2072cc7bc3136151688277f3
Author: Geoff Anderson <[email protected]>
Date: 2015-09-15T01:23:32Z
Updated Kafka to include versioning and use KafkaConfig class instead of
properties template file, and added upgrade test
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---