Guest User

Untitled

a guest
Aug 20th, 2019
53
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. dependencies {
  2. implementation 'org.springframework.cloud:spring-cloud-starter-zipkin'
  3. compile 'org.springframework.cloud:spring-cloud-starter-bus-kafka'
  4. }
  5.  
  6. spring:
  7. autoconfigure:
  8. exclude:
  9. - org.springframework.boot.autoconfigure.kafka.KafkaAutoConfiguration
  10.  
  11. @SpringBootApplication
  12. @EnableAutoConfiguration(exclude = KafkaAutoConfiguration.class)
  13. public class ApiGatewayApplication {
  14.  
  15. public static void main(String[] args) {
  16. SpringApplication.run(ApiGatewayApplication.class, args);
  17. }
  18.  
  19. }
RAW Paste Data