Skip to content

Commit

Permalink
refactor: 레플리카, 파티션 코드 삭제
Browse files Browse the repository at this point in the history
  • Loading branch information
chanchanwoong committed Jun 27, 2024
1 parent 648e250 commit f32242b
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,17 +38,13 @@ public KafkaTemplate<String, Object> kafkaTemplate() {
@Bean
public NewTopic auctionCloseTopic() {
return TopicBuilder.name(Topics.Constant.AUCTION_CLOSE)
.partitions(2)
.replicas(2)
.config(TopicConfig.RETENTION_MS_CONFIG, String.valueOf(172800000))
.build();
}

@Bean
public NewTopic alarmTopic() {
return TopicBuilder.name(Topics.Constant.ALARM)
.partitions(2)
.replicas(2)
.config(TopicConfig.RETENTION_MS_CONFIG, String.valueOf(172800000))
.build();
}
Expand Down

0 comments on commit f32242b

Please sign in to comment.