Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- dependencies {
- implementation 'org.springframework.cloud:spring-cloud-starter-zipkin'
- compile 'org.springframework.cloud:spring-cloud-starter-bus-kafka'
- }
- spring:
- autoconfigure:
- exclude:
- - org.springframework.boot.autoconfigure.kafka.KafkaAutoConfiguration
- @SpringBootApplication
- @EnableAutoConfiguration(exclude = KafkaAutoConfiguration.class)
- public class ApiGatewayApplication {
- public static void main(String[] args) {
- SpringApplication.run(ApiGatewayApplication.class, args);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement