Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes Issue #26 - Upgrade to kafka streams 2.0 #27

Merged
merged 25 commits into from
May 17, 2019

Conversation

theanirudhvyas
Copy link
Contributor

WORK LEFT: Add tests for upgrade.from config usage in streams..

Ziggurat is now tested across different Kafka versions in the CI.
We have added a docker compose that is now used for integration tests instead of embedded Kafka.

Have added the config upgrade.from that is required for upgrading services using ziggurat from kafka_streams 1.x to 2.1.0.

Removes git-hooks (as they are deprecated)
Refactors code

src/ziggurat/streams.clj Show resolved Hide resolved
.travis.yml Outdated Show resolved Hide resolved
src/ziggurat/streams.clj Show resolved Hide resolved
@theanirudhvyas theanirudhvyas changed the title WIP: Fixes Issue #26 - Upgrade to kafka streams 2.0 Fixes Issue #26 - Upgrade to kafka streams 2.0 May 3, 2019
theanirudhvyas and others added 24 commits May 16, 2019 16:01
Co-authored-by: Kartik <rulz.gupta@gmail.com>
Co-authored-by: Kartik <rulz.gupta@gmail.com>
@kartik7153 kartik7153 merged commit 461666e into gojek:master May 17, 2019
mjayprateek pushed a commit to mjayprateek/ziggurat that referenced this pull request Jun 4, 2019
* Adds a docker-compose.yml and removes embedded kafka from integration tests

* Adds docker-compose commands to travis-ci

* runs docker-compose on travis in detached mode

* fixes incorrect test

* removes git hooks as they have been deprecated

* refactors stream tests

* Fixes ci: updates travis.yml to run tests for both kafka 1 and kafka 2

* removes deprecated method punctuate from timestamp transformer

* updates kafka-streams version to 2.1.0

* Adds upgrade-from config for updating from kafka-streams 1 to 2

* refactors streams.clj, moves offset-reset-config validation out into a function

* adds a .env file to set default KAFKA_VERSION for docker-compose

* refactors ci: creates topic from within docker container instead of pulling kafka code

* moves logic for running tests in ci out into a script

* moves the upgrade-from config to stream-routes

* all integration stream tests now run with different application-ids

* refactors code and introduces lint stage in ci

* Adds a make-file and changes container name in docker-compose

* Adds rabbitmq to docker-compose

* removes duplicate import from streams.clj

* Runs make test-all command in ci

* refactors code, stream-tests get values from config.

* Updates dev-setup in readme

* Add changelog-topic-replication to test

* Add code-coverage stage in CI pipeline
mjayprateek pushed a commit to mjayprateek/ziggurat that referenced this pull request Jun 4, 2019
* Adds a docker-compose.yml and removes embedded kafka from integration tests

* Adds docker-compose commands to travis-ci

* runs docker-compose on travis in detached mode

* fixes incorrect test

* removes git hooks as they have been deprecated

* refactors stream tests

* Fixes ci: updates travis.yml to run tests for both kafka 1 and kafka 2

* removes deprecated method punctuate from timestamp transformer

* updates kafka-streams version to 2.1.0

* Adds upgrade-from config for updating from kafka-streams 1 to 2

* refactors streams.clj, moves offset-reset-config validation out into a function

* adds a .env file to set default KAFKA_VERSION for docker-compose

* refactors ci: creates topic from within docker container instead of pulling kafka code

* moves logic for running tests in ci out into a script

* moves the upgrade-from config to stream-routes

* all integration stream tests now run with different application-ids

* refactors code and introduces lint stage in ci

* Adds a make-file and changes container name in docker-compose

* Adds rabbitmq to docker-compose

* removes duplicate import from streams.clj

* Runs make test-all command in ci

* refactors code, stream-tests get values from config.

* Updates dev-setup in readme

* Add changelog-topic-replication to test

* Add code-coverage stage in CI pipeline
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants