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

Add docker-compose file for Kafka test environments #43

Open
Tracked by #94
mostafa opened this issue May 4, 2022 · 0 comments
Open
Tracked by #94

Add docker-compose file for Kafka test environments #43

mostafa opened this issue May 4, 2022 · 0 comments
Labels
✨ Feature Request New feature or request

Comments

@mostafa
Copy link
Owner

mostafa commented May 4, 2022

This ticket serves two purposes:

  1. A docker-compose file for testing in the CI pipeline.
  2. The same docker-compose file should be used for demo in the README.

Currently, the project uses a Zookeeperless instance of Apache Kafka to test one script, test_json.js, but that isn't enough. All the scripts should be tested with their scenarios, like SASL, compression, schema registry, etc.

While trying to test SASL authentication, I tried many different ready-made platforms like bitnami-docker-kafka, kafka-docker-playground and fast-data-dev. So far, each of them has served a different purpose and helped me test various features and fixes, but I believe the bitnami-docker-kafka is the easiest to set up.

Update:
While adding tests in #60, I replaced the Zookeeperless Kafka instance with the lensesio/fast-data-dev Docker image, which is also mentioned in the README. Yet, I couldn't make it work with SASL, so I might change it with the bitnami image.

Related:

@mostafa mostafa added the ✨ Feature Request New feature or request label May 4, 2022
@mostafa mostafa moved this to Todo in xk6-kafka May 10, 2022
@mostafa mostafa mentioned this issue Jun 28, 2022
10 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨ Feature Request New feature or request
Projects
Status: Todo
Development

No branches or pull requests

1 participant