일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 31 |
- statestore
- 플레이 프레임워크
- RabbitMQ
- Kafka
- kafkastream
- Elk
- spring-cloud-stream
- Logstash
- spring-batch
- kafkastreams
- avo
- enablekafkastreams
- kafka streams
- kafka interactive query
- scala 2.10
- reactive
- Elasticsearch
- scala
- aws
- Spring
- springboot
- spring-kafka
- gradle
- 한빛미디어
- confluent
- coursera
- 카프카
- Slick
- schema registry
- play framework
- Today
- Total
목록2019/07 (5)
b
엘라스틱서치는 한번에 볼 수 있는 데이터의 건수가 제한적이다. 예를 들어 GET INDEX_NAME/_search { "size" :15000 } //결과 "root_cause": [ { "type": "illegal_argument_exception", "reason": "Result window is too large, from + size must be less than or equal to: [10000] but was [15000]. See the scroll api for a more efficient way to request large data sets. This limit can be set by changing the [index.max_result_window] i ndex level..
엘라스틱 커뮤니케이서 본 글 ( https://www.facebook.com/groups/elasticsearch.kr/permalink/2277648678987626/ ) random-score로 특정 문서 몇개를 추출 하는 방법에 대한 고민이다. { "size": 1, "_source" : "type", "query": { "function_score": { "random_score": {}, "query": { "bool": { "must_not": { "term" :{ "type": "APPROVAL_REQUESTED" } } } } } } } 이렇게 하여 랜덤으로 문서 1개를 뽑을 수 있을 것 같았다. 하지만 must_not 은 score 를 항상 0 점으로 반환하므로 거기에 random sco..
Spring은 2007년인가 처음 가산에서 박찬욱님에게 교육을 들으면서 접하기 시작햇고, 가장 깊게 이해하며 많이 사용하는 프레임워크이다. 08년 부터 본격적으로 상용서비스에 Spring을 사용하기 시작했고 이때는 3계층 레이어가 대세였다. ( https://sites.google.com/site/telosystutorial/springmvc-jpa-springdatajpa/presentation/architecture , 특히 2.5에서 3종 annotation이 완성되면서 클래스 이름 조차, xxxController, xxxService, xxxRepository ... 으로 완전히 정형화 되었던 기억이... ) public class BrandController { private BrandServi..
Java 에 대한 고민은 예전부터 있어왔는데, 특히 '쓸데 없이 많은 코드'가 많은거에 대한 것. 처음 자바를 배웠을 때는 아래와 같은 private member, getter, setter이 당연한 것이었다. public class Seller { private Integer no; private String name; public Integer getNo() { return no; } public void setNo(Integer no) { this.no = no; } public String getName() { return name; } public void setName(String name) { this.name = name; } } 이후 lombok 등이 등장함에 따라 @Data public..
2018년 3월 GatewayPropertiesTest 를 작성하다가 겪은 시행착오. Junit5 (Jupiter)를 테스트하기 위한 방법으로 Spring5에서 SpringJUnitConfig 가 추가되었다. 쉽게 `@ExtendWith(SpringExtension.class) @SpringBootTest` 를 통합한 하나의 Annotation 이라고 생각해도 된다. 그래서 아래와 같은 방법으로 테스트를 작성할 수 있다. @SpringJUnitConfig(classes = ElasticPropertiesTest.InnerConfiguration.class) public class ElasticPropertiesTest { @Autowired String username; @Test public void ..