server:
  port: 8030

spring:
  application:
    name: zt

# Feign配置（简化版，基于Nacos服务发现）
feign:
  client:
    config:
      default:
        connectTimeout: 5000
        readTimeout: 10000
        loggerLevel: full
        decode404: true
  okhttp:
    enabled: true

# Kafka配置
kafka:
  enabled: false  # 默认关闭，需要时手动开启
  bootstrap-servers: 100.64.0.12:39092
  consumer:
    group-id: liuying-microservice-dev
    auto-offset-reset: earliest
    key-deserializer: org.apache.kafka.common.serialization.StringDeserializer
    value-deserializer: org.apache.kafka.common.serialization.StringDeserializer
  producer:
    acks: all
    retries: 3
    batch-size: 16384
    linger-ms: 1
    buffer-memory: 33554432
    key-serializer: org.apache.kafka.common.serialization.StringSerializer
    value-serializer: org.apache.kafka.common.serialization.StringSerializer

# 开发环境日志配置
logging:
  level:
    com.ycwl.basic.integration.scenic.client: DEBUG