feat: application.yml의 workerThreads로 지정된 값 만큼의 스레드 풀 및 크기값을 가지는 클래스

- 스레드 풀이 필요한 곳, 단순히 스레드 수가 필요한 곳 모두에서 사용하기 위함.
This commit is contained in:
이상진 2025-06-27 14:31:19 +09:00
parent ce20f85c04
commit 26f39596f0

View File

@ -0,0 +1,6 @@
package com.sangdol.consumer.infrastructure.kafka.consumer;
import java.util.concurrent.ExecutorService;
public record ConsumerPool(ExecutorService executorService, int poolSize) {
}