-
Notifications
You must be signed in to change notification settings - Fork 0
Spring Boot Properties
정명주(myeongju.jung) edited this page Aug 6, 2018
·
1 revision
feign:
client:
config:
default:
connectionTimeout: 1000
readTimeout: 5000
loggerLevel: basic
some-service-id:
connectionTimeout: 1000
readTimeout: 5000
loggerLevel: basic
hystrix:
enabled: true
hystrix:
command:
default:
execution:
isolation:
strategy: SEMAPHORE
thread:
timeoutInMilliseconds: 6000
someCommand:
execution:
isolation:
strategy: SEMAPHORE
thread:
timeoutInMilliseconds: 60000
logging:
level:
root: warn
com.someservice.api: info
file:
max-history: 100
max-size: 100MB
path: /home/account/some-service/log
management:
endpoints:
health:
show-details: always
web:
base-path: /actuator
exposure:
include: health,info,logfile,httptrace
health:
redis:
enabled: false
elasticsearch:
enabled: false
rabbit:
enabled: false
server:
port: 8081
spring:
cloud:
config:
override-none: true # !!
consul:
discovery:
service-name: ${spring.application.name}-${common.env}
instance-id: ${spring.application.name}-${spring.application.instance-id:${random.value}}
health-check-path: ${management.endpoints.web.base-path}/health
health-check-interval: 5s
data:
elasticsearch:
properties:
client.transport.sniff: false
client.transport.ignore_cluster_name: false
client.transport.ping_timeout: 5s
client.transport.nodes_sampler_interval: 5s
repositories: false
datasource:
hikari:
connection-timeout: 4000
jackson:
serialization:
write-date-timestamps-as-nanoseconds: false
time-zone: Asia/Seoul
jpa:
hibernate:
ddl-auto: validate
naming:
implicit-strategy: ??
physical-strategy: ??
open-in-view: false
rabbitmq:
addresses: 1.1.1.1:5672, 2.2.2.2:5672
username: ididididid
password: pwpwpwpwpw
servlet:
multipart:
file-size-threshold: 110MB
location: /home/account/some-service/tmp # !!
max-file-size: 100MB
max-request-size: 110MB
JAVA
JPA
- JPA-Create-And-Update
- Optional-Eager
- QueryDsl-Configuration
- QueryDsl-More-Type-safety
- QueryDsl-SubQuery
DDD
Install
Spring
Spring-Boot
- Swagger2-Configuration
- Spring-Restdocs-Configuration
- Spring-Page-Jackson
- JSR310-Guide
- logback-spring.xml
- WebMvcUtils.java
- Spring-Boot-Properties
- Spring-Boot-Hidden-Gems
- Spring-Boot-Config
Spring-Cloud
- Spring-Cloud-Zuul
- Spring-Cloud-Feign
- Spring-Cloud-Hystrix
- Spring-Cloud-Consul
- Spring-Cloud-Ribbon
- Spring-Cloud-Circuit-Breaker
JavaScript
Gradle
Test
Linux
Etc
TODO http://zoltanaltfatter.com/2017/06/09/publishing-domain-events-from-aggregate-roots/