# fetch StackOverflow data
@GetMapping(value = "/sov", produces = MediaType.TEXT_EVENT_STREAM_VALUE)
# fetch github data
@GetMapping(value = "/gith", produces = MediaType.TEXT_EVENT_STREAM_VALUE)
# fetch DevTo data
@GetMapping(value = "/devto", produces = MediaType.TEXT_EVENT_STREAM_VALUE)
.....
public interface PersonRepository extends ReactiveCrudRepository<Person, Long> {
}
.....
# generate native image with graalvm plugin [ you can use spring boot native image plugin as well ].
$ mvn clean -Pnative-image package