Create a custom logger which can replace the existing Lombok, Sl4j log and can push logs as a stream to Kafka. See this.
- Since the logger would mostly be a configuration
log42j.xml in spring, try to inject is using Utils to all the other repos.
- The library to use -> https://logging.apache.org/log4j/2.x/manual/appenders.html#KafkaAppender
- The third step would be to send these to Sunbird Telemetry Service. So telemetry object creation to be part of Utils service. See spec here
Tasks
Create a custom logger which can replace the existing Lombok, Sl4j log and can push logs as a stream to Kafka. See this.
log42j.xmlin spring, try to inject is using Utils to all the other repos.Tasks