Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@ public class KafkaConsumer {

@KafkaListener(
topics = "${topic.minute}",
groupId = "${group.minute}",
concurrency = "2"
groupId = "${group.minute}"
)
public void processMinutePrice(String kafkaMessage) {
log.info("Received Kafka minute message ===> {}", kafkaMessage);
Expand Down
2 changes: 1 addition & 1 deletion src/backend/chat_server/src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ topic:
minute: jootalkpia.stock.prd.minute
chat: jootalkpia.chat.prd.message
push: jootalkpia.push.prd.message
hurdle: jootalkpia.hurdle.prd.status
hurdle: jootalkpia.huddle.prd.status
workspace: jootalkpia.workspace.prd.channel

group:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public class KafkaProducer {
public void sendHurdleStatusMessage(MessageToKafka messageToKafka) { // 미르님 원하는 DTO로 변경 필수
String jsonHurdleStatusMessage = gson.toJson(messageToKafka);

kafkaTemplate.send("jootalkpia.hurdle.prd.status", jsonHurdleStatusMessage).whenComplete((result, ex) -> {
kafkaTemplate.send("jootalkpia.huddle.prd.status", jsonHurdleStatusMessage).whenComplete((result, ex) -> {
if (ex == null) {
log.info(result.toString());
} else {
Expand Down