spring:
  # JPA 설정
  jpa:
    hibernate:
      ddl-auto: create-drop
    show-sql: true
    properties:
      hibernate:
        format_sql: true
        dialect: org.hibernate.dialect.H2Dialect

  # H2 인메모리 데이터베이스 설정
  datasource:
    url: jdbc:h2:mem:testdb
    driver-class-name: org.h2.Driver
    username: sa
    password:

  # Kafka 설정 (통합 테스트용)
  kafka:
    bootstrap-servers: 20.249.182.13:9095
    producer:
      key-serializer: org.apache.kafka.common.serialization.StringSerializer
      value-serializer: org.springframework.kafka.support.serializer.JsonSerializer
      acks: all
      retries: 3

  # H2 콘솔 활성화 (디버깅용)
  h2:
    console:
      enabled: true
      path: /h2-console

# JWT 설정 (테스트용)
jwt:
  secret: test-secret-key-for-testing-only-minimum-256-bits
  expiration: 86400000

# 로깅 레벨
logging:
  level:
    org.hibernate.SQL: DEBUG
    org.hibernate.type.descriptor.sql.BasicBinder: TRACE
    com.kt.event.participation: DEBUG
    org.springframework.kafka: DEBUG
    org.apache.kafka: DEBUG
