add work monitoring scheme
This commit is contained in:
@@ -45,7 +45,7 @@ public class MonitoringService {
|
||||
log.info("Images count: {}", images.size());
|
||||
|
||||
for (SearchResponse.ImageResult imageResult: images) {
|
||||
kafkaTemplate.send("monitoring-results", objectMapper.writeValueAsString(imageResult));
|
||||
kafkaTemplate.send("monitoring-results", imageResult);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user