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
- Logstash
- statestore
- scala
- Slick
- spring-cloud-stream
- Elasticsearch
- 한빛미디어
- 플레이 프레임워크
- enablekafkastreams
- Elk
- avo
- kafkastream
- springboot
- RabbitMQ
- spring-kafka
- spring-batch
- schema registry
- Spring
- kafka interactive query
- Kafka
- aws
- scala 2.10
- gradle
- 카프카
- play framework
- kafka streams
- coursera
- reactive
- confluent
- kafkastreams
Archives
- Today
- Total
목록PENDING_SHUTDOWN (1)
b
KafkaStreams 의 setStateListener 는 언제 쓸 것인가?
처음에는 이 메소드의 효용성? 사용범위? 에 대해서 이해하지 못했다. 그냥 최초에 Streams Application이 기동될때, State 가 migration 되는 동안 Application 의 health 를 DOWN 정도으로 바꾸는 정도? (즉 Created -> Running) 최근에 하나 더 든생각은 isRunning 상태에서 다른 상태로 빠질 경우이다. (isRunning은 RUNNING or REBALCING 이다) 이 때에는 API로 제공되는 KeyStore를 query하면 에러가 발생 할 것이다. 그러므로this.kafkaStreams.setStateListener((newState, oldState) -> { if(newState.isRunning() ){ this.ready = tr..
카테고리 없음
2018. 3. 6. 20:44