Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
Tags
- statestore
- schema registry
- spring-cloud-stream
- Slick
- avo
- Logstash
- enablekafkastreams
- RabbitMQ
- Elk
- 한빛미디어
- 플레이 프레임워크
- kafka streams
- confluent
- coursera
- springboot
- Spring
- spring-batch
- reactive
- Elasticsearch
- scala
- scala 2.10
- 카프카
- Kafka
- kafkastreams
- gradle
- play framework
- spring-kafka
- kafkastream
- kafka interactive query
- aws
Archives
- Today
- Total
목록configurationproperties (1)
b

스프링에서 가장 쉽게 프로퍼티를 읽어오는 방법은 @Value를 이용하는 것이다. - @Value(value="${app.base.name}") 를 이용해서 application의 프로퍼티 하나를 읽어오거나 - @Value("#{systemProperties['os.name']}") 처럼 이용해서 시스템 값을 가져오거나 - @Value("${spring.profiles.active:default}") 를 이용해서 프로파일값을 가져 올 수 있지만, expression 을 이용하거나, 몇몇 한정된 경우에만 쓰이고 실제로는 @ConfigurationProperties를 더 많이 이용한다. (링크 : https://docs.spring.io/spring-boot/docs/current/api/org/springf..
카테고리 없음
2019. 4. 14. 00:27