4.6. Push agent 설정
본 장에서는 push agent 어플리케이션이 사용하는 설정 파일(.yml
)의 설정 값을 설명합니다.
Property명 | 설명 | Value Example |
---|---|---|
spring.main.web-application-type | WAS 여부 | none |
logging.config | logback 설정 파일 경로 | classpath:logback-spring.xml |
logging.base.dir | log 저장 기본 디렉토리 | logs |
kafka.url | Kafka 연결 주소 | k1:9092,k2:9092,k3:9092 |
kafka.message.version | Kafka 메시지 버전 | 1.0 |
kafka.security.yn | kafka 보안 적용 여부 - N : 미적용 - Y : 적용 | N |
kafka.security.protocol | kafka 보안 프로토콜 | SASL_PLAINTEXT |
kafka.sasl.mechanism | kafka 보안 메커니즘 | PLAIN |
kafka.username | kafka 사용자명 | test |
kafka.password | kafka 패스워드 | test |
kafka.notification.topic | Notification 토픽명 | NOTIFICATION_REQUEST |
kafka.notification.consumer.threadcount | kafka 인터페이스 컨슈머 쓰레드 수 | 1 |
kafka.notification.consumer.group.id | kafka 컨슈머 그룹 아이디 | ketiConsumer |
kafka.notification.consumer.enable.auto.commit | kafka auto commit 사용 여부 | true |
kafka.notification.consumer.auto.offset.reset.config | kafka offset 관리 옵션 | latest |
kafka.notification.consumer.poll.duration.millis | kafka polling duration 주기 | 1000 |
notification.processor.thread.count | Notification 발송 처리 Thread 수 | 10 |
notification.queue.size | Notification 발송 처리 Thread Queue 크기 | 100000 |
http.pool.max.total | http 커넥션 풀 최대 크기 | 200 |
http.pool.defaultMaxPerRoute | host 당 커넥션 풀에 생성가능한 Connection 수 | 100 |
http.pool.connection.timeout | http 클라이언트 연결타임아웃 | 5000 |
http.pool.connection.request.timeout | http 클라이언트 요청 타임아웃 | 5000 |
http.pool.read.timeout | http 클라이언트 READ 타임아웃 | 10000 |
http.pool.validate.after.inactivity | http 클라이언트 validate after inactivity | 2000 |