All Questions
3 questions
1
vote
1
answer
642
views
What are the best way to publish application event in a spring boot application?
My goal is to collect/publish different types of information from the application. We use Kafka for the event bus. Consider the following sample code.
class UserService {
public User ...
5
votes
1
answer
7k
views
Logging RestTemplate's responses
I want to log responses using Spring's RestTemplate.
At first I thought I should do it using a ClientHttpRequestInterceptor, but since every set of requests should be logged to a different file, I ...
4
votes
3
answers
5k
views
Is it still a good practice to log parameters and returns?
Just a context, I am currently making a base code for a Java Spring Boot Application.
I am currently setting up the logging of the application and I stumbled upong this url and found it helpful. ...