a repository that contains microservices config files, this would contains non sensitive informations, but since it is an excercice only, we keep it simple

customer.yml 857B

1234567891011121314151617181920212223242526272829303132
  1. server:
  2. port: 8081
  3. spring:
  4. application:
  5. name: customer
  6. datasource:
  7. url: jdbc:mysql://localhost:3307/customer
  8. username: natan
  9. password: NATAN23
  10. jpa:
  11. database-platform: org.hibernate.dialect.MySQLDialect
  12. hibernate:
  13. ddl-auto: update
  14. show-sql: true
  15. kafka:
  16. consumer:
  17. boostrap-servers: kafka:9092
  18. group-id: customer-consumer
  19. auto-offset-reset: earliest
  20. key-deserialize: org.apache.kafka.common.serialization.StringDeserializer
  21. value-deserialize: rg.apache.kafka.common.serialization.StringDeserializer
  22. producer:
  23. boostrap-servers: kafka:9092
  24. key-deserialize: org.apache.kafka.common.serialization.StringDeserializer
  25. value-deserialize: org.apache.kafka.common.serialization.StringDeserializer
  26. management:
  27. endpoints:
  28. web:
  29. exposure:
  30. include: "*"

Powered by TurnKey Linux.