Decathlon / tzatziki

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

Allow objects in keys in kafka messages #172

Open lucas-macori opened 1 year ago

lucas-macori commented 1 year ago

When publishing a message in a topic, it is only possible to send a string in the key. :

image

Although, it could be useful the send objects. As the key sometimes is represented as a JSON object.

For instance, this could be done like this :

image

Do you think this could be implemented ?

Thank you

brian-mulier-p commented 1 year ago

Hello ! I think it could be an enhancement for this PR : https://github.com/Decathlon/tzatziki/pull/157 @nkhalis were you able to test if this PR is valid ?

nkhalis commented 1 year ago

I'll check it the next week 😀