springwolf / springwolf-core

Automated documentation for event-driven applications built with Spring Boot
https://www.springwolf.dev
Apache License 2.0
250 stars 72 forks source link

springwolf-ui: Support showing response message when message is published or error #706

Open alievrenkut opened 6 months ago

alievrenkut commented 6 months ago

Describe the feature request Springwolf-ui now shows published or error message clicking publish method. I suggest to show the response body if it exists.

Motivation We use Spring's ReplyingKafkaTemplate for some topics and it would be nice to see the reply of published message.

Technical details I overridden SpringwolfKafkaController so for now I can see response in DevTools (F12)

Describe alternatives you've considered I currently implemented to use DevTools and print log to see the results.

timonback commented 6 months ago

Sounds interesting.

Feel free to start a PR including the kafka reply template that you are using. I haven't heard about it before.

Feel free to even contribute the ui part in the next step, which is located in the springwolf-ui sub folder.