Decathlon / tzatziki

Decathlon library to ease and promote Test Driven Development of Java microservices!
Apache License 2.0
63 stars 30 forks source link

✨ feat: template a value in the topic name #388

Closed bmougeot closed 4 weeks ago

bmougeot commented 1 month ago

🎯 This pull request aims to add dynamic management of topic names.

🤔 Why ? By allowing dynamic templates for topic names, we can replace parts of the topic with changing values. This will enable us to create unique topic names based on the environment (or other parameters), facilitating the testing of different conditions and scenarios with a single definition. _Example: we run tests on ephemeral environments where topic names include a reference to the corresponding pull request : pr-{pull_request_number}-topic-name_

💡 That’s why, since this feature exists in different HTTP steps, it would be useful to also have the ability to use templates for the topic names in Kafka.

🙏🏼 Thank you for taking the time to review these changes!

CLAassistant commented 1 month ago

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

bmougeot commented 4 weeks ago

Re-run tests after last update:

Capture d’écran 2024-10-29 à 14 30 47