From 30363aa529912bf89e189b1903ae7ef4176bb48e Mon Sep 17 00:00:00 2001 From: kor-Chipmunk Date: Thu, 14 Mar 2024 01:46:14 +0900 Subject: [PATCH] =?UTF-8?q?refactor:=20`@Async`=20=EC=97=90=20`Executor`?= =?UTF-8?q?=20=EB=AA=85=EC=8B=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../kotlin/com/lalala/streaming/external/kafka/KafkaProducer.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/streaming-server/src/main/kotlin/com/lalala/streaming/external/kafka/KafkaProducer.kt b/src/backend/streaming-server/src/main/kotlin/com/lalala/streaming/external/kafka/KafkaProducer.kt index 3d1ff2be..a25b5f17 100644 --- a/src/backend/streaming-server/src/main/kotlin/com/lalala/streaming/external/kafka/KafkaProducer.kt +++ b/src/backend/streaming-server/src/main/kotlin/com/lalala/streaming/external/kafka/KafkaProducer.kt @@ -9,7 +9,7 @@ import org.springframework.stereotype.Component class KafkaProducer( private val template: KafkaTemplate ) { - @Async + @Async("asyncProducerExecutor") fun execute(event: LalalaEvent) { template.send(event.topic, event) }