Skip to content

Setup a simple producer / consumer testing environment in order to proper test all the communications infrastructure#7

Open
feed3r wants to merge 4 commits intoTheG-r-itters:feature/testingfrom
feed3r:fix_producer_consumer
Open

Setup a simple producer / consumer testing environment in order to proper test all the communications infrastructure#7
feed3r wants to merge 4 commits intoTheG-r-itters:feature/testingfrom
feed3r:fix_producer_consumer

Conversation

@feed3r
Copy link

@feed3r feed3r commented Jun 12, 2024

Actually, the purpose of this repository is really basic: just setup a Kafka infrastructure for our project. With this PR, and in this branch, what we want to start is a testing facility that will allow to validate and test all of the core infrastructure.

At the moment (again) it is really simple, and it simply consists of a simple producer and consumer that respectively writes and reads messages on certain topic, actually in one partition.

The idea is to create a testing facility, and infrastructure, using Docker compose and in case testing other technologies (docker swarm? kubernetes in the future?)

feed3r added 4 commits June 11, 2024 20:13
Fix the starting script for python kafka consumer and producer. All of them supports the force-rebuild and force-restart option and these are managed accordingly.
The producer should run in a while true, producing messages in an infinite loop
Start script now manages correctly the containers, deleting an already existing container when starting and managing the force-rebuild and force-restart options
@feed3r feed3r requested a review from luca-c-xcv June 12, 2024 19:54
@feed3r feed3r self-assigned this Jun 12, 2024
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.

1 participant