Skip to content
Merged
Show file tree
Hide file tree
Changes from all 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
3 changes: 0 additions & 3 deletions src/backend/chat_server/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,6 @@ dependencies {
implementation 'org.springframework.kafka:spring-kafka'
testImplementation 'org.springframework.kafka:spring-kafka-test'

//Gson
implementation group: 'com.google.code.gson', name: 'gson', version: '2.8.6'

implementation 'org.springframework.boot:spring-boot-starter-data-redis'

annotationProcessor "org.springframework.boot:spring-boot-configuration-processor"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public void processMinutePrice(String kafkaMessage) {

@KafkaListener(
topics = "${topic.chat}",
groupId = "${group.chat}", //추후 그룹 ID에 동적인 컨테이너 ID 삽입
groupId = "${group.chat}",
concurrency = "2"
)
public void processChatMessage(@Header(KafkaHeaders.RECEIVED_KEY) String channelId, String kafkaMessage) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

@Getter
@Builder
@Document(collation = "chat_messages")
@Document(collection = "chat_messages")
public class ChatMessage extends BaseTimeEntity {

@Id
Expand Down