mirror of
https://github.com/ktds-dg0501/kt-event-marketing.git
synced 2025-12-06 12:06:24 +00:00
- build.gradle에서 spring-kafka 의존성 삭제 - application*.yml에서 Kafka 설정 제거 - content-service는 Redis에 데이터를 저장하는 역할만 수행 - 서비스 간 비동기 통신이 필요 없어 Kafka 불필요 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
44 lines
923 B
YAML
44 lines
923 B
YAML
spring:
|
|
datasource:
|
|
url: jdbc:h2:mem:contentdb
|
|
username: sa
|
|
password:
|
|
driver-class-name: org.h2.Driver
|
|
|
|
h2:
|
|
console:
|
|
enabled: true
|
|
path: /h2-console
|
|
|
|
jpa:
|
|
database-platform: org.hibernate.dialect.H2Dialect
|
|
hibernate:
|
|
ddl-auto: create-drop
|
|
show-sql: true
|
|
properties:
|
|
hibernate:
|
|
format_sql: true
|
|
dialect: org.hibernate.dialect.H2Dialect
|
|
|
|
data:
|
|
redis:
|
|
# Redis 연결 비활성화 (Mock 사용)
|
|
repositories:
|
|
enabled: false
|
|
host: localhost
|
|
port: 6379
|
|
|
|
autoconfigure:
|
|
exclude:
|
|
- org.springframework.boot.autoconfigure.data.redis.RedisAutoConfiguration
|
|
- org.springframework.boot.autoconfigure.data.redis.RedisRepositoriesAutoConfiguration
|
|
|
|
server:
|
|
port: 8084
|
|
|
|
logging:
|
|
level:
|
|
com.kt.event: DEBUG
|
|
org.hibernate.SQL: DEBUG
|
|
org.hibernate.type.descriptor.sql.BasicBinder: TRACE
|