What’s better to use as parent POM in microservices architecture:
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.7.18</version>
</parent>
or
<parent>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-parent</artifactId>
<version>2022.0.2</version>
<relativePath /> <!-- lookup parent from repository -->
</parent>
services register in Eureka server, Spring cloud gateway also is used. From my point of view its better to use spring-boot-starter-parent(potentially service discovery or gateway can be changed) but may be I’m wrong and and here its better to use spring-cloud-starter-parent(it uses spring-boot-starter-parent as parent). thanks in advance